//!This code is part of the Services provided by FullStory, Inc. For license information, please refer to https://www.fullstory.com/legal/terms-and-conditions/ //!Portions of this code are licensed under the following license: //! For license information please see fs.js.LEGAL.txt "use strict";!function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};function n(n,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}var i=function(){return i=Object.assign||function(t){for(var n,i=1,r=arguments.length;i0&&e[e.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!e||o[1]>e[0]&&o[1]0&&this.i(s)}},t.prototype.setCookie=function(t,n,i){this._setCookie(t,n,i)},Object.defineProperty(t.prototype,"cookies",{get:function(){return this._cookies},enumerable:!1,configurable:!0}),t.prototype.clearCookie=function(t,n){this._cookies[t]&&(this.t.cookie=o(this.h,t,"","Thu, 01 Jan 1970 00:00:01 GMT"),delete this._cookies[t]);try{delete localStorage[null!=n?n:t]}catch(t){}},t.prototype._setCookie=function(t,n,i){try{if(this.t.cookie=o(this.h,t,n,i),this.t.cookie&&this.t.cookie.indexOf(n)>-1)return;this.t.cookie=o(this.h,t,n,i,"None")}finally{this._cookies=_r(this.t)}},t.prototype.k=function(t,n,i,r){this._setCookie(t,i,r),function(t,n){try{localStorage[t]=n}catch(t){}}(null!=n?n:t,i)},t.prototype.v=function(t,n){var i,r=this._cookies[t];try{i=localStorage[null!=n?n:t]}catch(t){}return{cookieValue:r,localStorageValue:i}},t.prototype.S=function(t,n,i,r,e,s){void 0===s&&(s=3),r();for(var u=!1,o=!1,a=1;a-1||c.indexOf("Trident/")>-1,f=(h&&c.indexOf("Trident/5"),h&&c.indexOf("Trident/6"),h&&c.indexOf("rv:11")>-1),v=c.indexOf("Edge/")>-1,l=c.indexOf("Opera/")>-1,d=(c.indexOf("CriOS"),c.indexOf("Snapchat")>-1),p=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),w=/^((?!chrome|android).)*(safari)/i.test(window.navigator.userAgent),g=p||w;function m(){var t=window.navigator.userAgent.match(/Version\/(\d+)/);return t&&t[1]?parseInt(t[1],10):-1}function y(t){if(!g)return!1;var n=m();return n>=0&&n===t}function b(t){if(!g)return!1;var n=m();return n>=0&&n-1,!!I.userAgent.match("CriOS")||"Google Inc."===E&&!T&&!C),R=/Firefox/.test(window.navigator.userAgent);function K(){var t=window.navigator.userAgent.match(/Firefox\/(\d+)/);return t&&t[1]?parseInt(t[1],10):-1}function j(t){return!!R&&K()1))return s}}(t);if(!i||!In(n))return n;var r="";return 0===n.indexOf("www.")&&(n=n.slice(4),r="www."),0===n.indexOf("".concat(i,"."))&&(n=n.slice("".concat(i,".").length)),"".concat(r).concat(i,".").concat(n)}}function ai(t){return t?yn(function(t){var n=t,i=n.indexOf(":");return i>=0&&(n=n.slice(0,i)),n}(t))?t:0==t.indexOf("www.")?"app.".concat(t.slice(4)):"app.".concat(t):t}function ci(t){var n=kn(t);if(n)return"".concat(n,"/s/fs.js")}function hi(t,n){var i;if(void 0===n&&(n=0),!t)return!1;try{t.call(function(){})}catch(t){return!1}var r=function(t){try{return void t.call(null)}catch(t){return(t.stack||"").replace(/__fs_nomangle_check_stack(.|\n)*$/,"")}},e=void 0;0!==n&&"number"==typeof Error.stackTraceLimit&&(e=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY);var s=[function(){throw new Error("")},t],u=function __fs_nomangle_check_stack(){return s.map(r)}(),o=u[0],a=u[1];if(void 0!==e&&(Error.stackTraceLimit=e),!o||!a)return!1;for(var c="\n".charCodeAt(0),h=o.length>a.length?a.length:o.length,f=1,v=f;v=0}catch(t){return!1}}var li="__zone_symbol__OriginalDelegate",di=[li,"nr@original"];function pi(t,n){return wi(t,n)[0]}function wi(t,n,i){void 0===i&&(i=!1);var r=[];if(!n)return[void 0,r];for(var e=0,s=di;en)return!1;return i==n}function nr(t,n){var i=0;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&++i>n)return!0;return!1}function ir(t){return function(){for(var n,i,r=this,e=[],s=0;s")}function sr(t){return Si.jsonParse(t)}function ur(t,n,i){return or(null==t?void 0:t.prototype,n,i)}function or(t,n,r){if(!t)return function(){};var e=Object.getOwnPropertyDescriptor(t,n);if(!e||!e.set)return function(){};var s=e.set,u=rr(r),o=!0;function a(t){s.call(this,t),o&&u(this,t)}return Object.defineProperty(t,n,i(i({},e),{set:a})),function(){o=!1;var r=Object.getOwnPropertyDescriptor(t,n);r&&a===r.set&&Object.defineProperty(t,n,i(i({},r),{set:s}))}}function ar(t){var n=t.navigator.languages;return n&&Di(n)?n.join(","):t.navigator.userLanguage||t.navigator.language}function cr(t){if(!t)return!1;var n=t.isConnected;return"boolean"==typeof n?n:function(t){for(var n=t,i=void 0;n;n=i)if(!(i=Ui(n)))return n;return t}(t).nodeType===Ki}function hr(t,n){void 0===t&&(t=[]),void 0===n&&(n=0);for(var i="",r=0,e=t;r=0){var s=e.split("/"),u=s[0],o=s[1];i[r]=u,n=o;break}}var a=function(t){var n=parseInt(null!=t?t:"",10),i=br(),r=Sr()+86400;return isNaN(n)?r:n<=i?void 0:n>r?r:n}(n);if(!a)return null;i[0];var c=i[1],h=i[2],f=i[3],v="";f&&(v=decodeURIComponent(f),(mr.indexOf(v)>=0||yr.indexOf(v)>=0)&&("Ignoring invalid app key \"".concat(v,"\" from cookie."),v=""));var l=(null!=h?h:"").split(":"),d=l[0],p=l[1],w=l[2];return l[3],{appKeyHash:v,expirationAbsTimeSeconds:a,userId:d,orgId:c,pageCount:zi(l[4]),sessionId:null!=p?p:"",sessionStartTime:zi(w)}}function _r(t){var n={};try{for(var i=t.cookie.split(";"),r=0;r=400&&502!==t||202==t||206==t}function Er(t){return t instanceof Ar&&Ir(t.status)}function Tr(t){return"function"==typeof t}var Cr,xr,Rr,Kr,jr,Mr=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},Pr=0,Or=function(t,n){Nr[Pr]=t,Nr[Pr+1]=n,2===(Pr+=2)&&Cr()},Nr=new Array(1e3);function Lr(){for(var t=0;t-1&&s>n&&o?(r.push(o.slice(0,o.length-(s-n))),t.cancel()["catch"](function(t){}),[2,r]):a?[2,r]:(void 0!==o&&r.push(o),[3,1]);case 3:return[2]}})})}var pe=function(t){return r(void 0,void 0,ce,function(){return e(this,function(n){switch(n.label){case 0:return[4,de(t)];case 1:return[2,ve(n.sent())]}})})};function we(){return r(this,void 0,ce,function(){var t,n,i,r;return e(this,function(e){return t=new TextEncoderStream,n=new CompressionStream("gzip"),t.readable.pipeThrough(n),i=t.writable.getWriter(),r=n.readable.getReader(),[2,[{write:function(t){return i.ready.then(function(){return i.write(t)})},finalize:function(){return i.ready.then(function(){return i.close()})},onError:function(){i.abort()["catch"](function(t){}),r.cancel()["catch"](function(t){})}},pe(r)]]})})}function ge(t){return r(this,void 0,ce,function(){var n,i,r,s;return e(this,function(e){switch(e.label){case 0:return e.trys.push([0,5,,6]),[4,we()];case 1:return s=e.sent(),n=s[0],i=s[1],[4,n.write(t)];case 2:return e.sent(),[4,n.finalize()];case 3:return e.sent(),[4,i];case 4:return[2,[e.sent(),null]];case 5:return r=e.sent(),null==n||n.onError(),[2,[null,r]];case 6:return[2]}})})}function me(){return r(this,void 0,ce,function(){return e(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,ge("fullstory")];case 1:return[2,null!=t.sent()[0]];case 2:return t.sent(),[3,3];case 3:return[2,!1]}})})}var ye=new ce(function(t){r(void 0,void 0,ce,function(){var n;return e(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,ce.race([me(),fe(500).then(function(){return!1})])];case 1:return n=i.sent(),t(n),[3,3];case 2:return i.sent(),t(!1),[3,3];case 3:return[2]}})})}),be=function(){var t=function(){try{var t=new MessageChannel;return t.port1.start(),t}catch(t){return null}}();return t?new ce(function(n){var i=t.port1,r=t.port2,e=function(){n(),i.removeEventListener("message",e),i.close()};i.addEventListener("message",e),r.postMessage(void 0),r.close()}):fe(0)},Se=function(){return r(void 0,void 0,ce,function(){var t;return e(this,function(n){switch(n.label){case 0:return(t=Si.requestWindowAnimationFrame)?[4,new ce(function(n){return t(window,n)})]:[3,2];case 1:n.sent(),n.label=2;case 2:return[4,be()];case 3:return n.sent(),[2]}})})};function ke(t){void 0===t&&(t=16);var n=wr()+t;return{timeRemaining:function(){return Math.max(0,n-wr())},didTimeout:!1}}function _e(t,n){return r(this,void 0,ce,function(){var i,r,s,u;return e(this,function(e){switch(e.label){case 0:return(i=t.ResizeObserver)?(r=t.document,s=r.documentElement||r.body||r.head,u=null!=n?n:s,[2,new ce(function(t){var n=new i(function(){Se().then(function(){n.unobserve(u),t()})});n.observe(u)})]):[4,Se()];case 1:return e.sent(),[2]}})})}function Ae(t,n){throw void 0===n&&(n="Reached unexpected case in exhaustive switch"),new Error(n)}var Ie=function(t){for(var n=[],i=0,r=t;i0&&i.length<1e4;){var r=i.pop();n(r),As(r),r.next&&i.push(r.next),r.child&&i.push(r.child),r.shadow&&i.push(r.shadow)}Ku(i.length<1e4,"clearIds is fast")}var Ts=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","referrerPolicy","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].reduce(function(t,n){return t[n]=n,t[n.toUpperCase()]=n,t},{});function Cs(t,n){if(n)for(var i in n)t.push(":".concat(i)),t.push(n[i])}function xs(t){return t.nodeType===Ri&&"http://www.w3.org/2000/svg"===t.namespaceURI}var Rs=16e6,Ks=/^\s*((prefetch|preload|prerender)\s*)+$/i,js=/^\s*.*((worklet|script|worker|font|fetch)\s*)+$/i;function Ms(t,n,i,r){var e,s,u=t.tag;if(null===u||""===i)return null;if("link"===u&&Ks.test(null!==(e=n.getAttribute("rel"))&&void 0!==e?e:"")&&!js.test(null!==(s=n.getAttribute("as"))&&void 0!==s?s:""))return null;var o,a="style"===i?Os(r):r,c=function(t,n,i){var r,e,s,u,o,a,c,h,f,v,l,d,p,w=void 0;(null===(r=null==n?void 0:n.watchKind)||void 0===r?void 0:r.has(Qe.Exclude))?w=At.Exclude:(null==n?void 0:n.mask)&&(w=At.Mask);var g=[],m=null===(u=null===(s=null===(e=Qs.blocklist[At.Any])||void 0===e?void 0:e[t])||void 0===s?void 0:s["static"])||void 0===u?void 0:u[i],y=null===(c=null===(a=null===(o=Qs.blocklist[At.Any])||void 0===o?void 0:o["*"])||void 0===a?void 0:a["static"])||void 0===c?void 0:c[i];if(void 0!==m&&g.push(m),void 0!==y&&g.push(y),w){var b=null===(v=null===(f=null===(h=Qs.blocklist[w])||void 0===h?void 0:h[t])||void 0===f?void 0:f["static"])||void 0===v?void 0:v[i],S=null===(p=null===(d=null===(l=Qs.blocklist[w])||void 0===l?void 0:l["*"])||void 0===d?void 0:d["static"])||void 0===p?void 0:p[i];void 0!==b&&g.push(b),void 0!==S&&g.push(S)}if(Qs.hasPrefix){var k=Js(At.Any,t,i),_=Js(At.Any,"*",i);if(void 0!==k&&g.push(k),void 0!==_&&g.push(_),w){var A=Js(w,t,i),I=Js(w,"*",i);void 0!==A&&g.push(A),void 0!==I&&g.push(I)}}return function(t){if(0!==t.length)return Si.mathMin.apply(Si,t)}(g)}(u,t,i);if(void 0===c&&!t)return null;switch(c){case void 0:return a;case Et.Erase:return null;case Et.MaskText:return Ge(a);case Et.ScrubCss:return o=function(t,n,i){return"".concat(t).concat(Xs).concat(i)},a.replace(ns,function(t){for(var n=[],i=1;i-1)return h.substring(f)}return h;default:return Ae()}}var Ps={},Os=function(t,n){void 0===n&&(n=window);try{var i=n.location,r=i.origin,e=i.pathname,s=i.search,u="".concat(r).concat(e).concat(s),o=Ps[u];return o?o.lastIndex=0:(o=new RegExp("".concat((a=u,ss.test(a)?a.replace(es,"\\$&"):a),"/?(#)"),"g"),Ps[u]=o),t.replace(o,"".concat("https://fs-currenturl.invalid","$1"))}catch(n){return Mu("cleanCSS",{err:n}),t}var a},Ns=/^data:/i;function Ls(t,n){if(Ns.test(t))return t;switch(n.source){case"dom":switch(n.type){case"frame":case"iframe":return zs(t);default:return Us(t)}case"event":switch(n.type){case O.AJAX_REQUEST:case O.NAVIGATE:return Us(t);case O.SET_FRAME_BASE:return zs(t);default:return Ae()}case"log":return zs(t);case"page":switch(n.type){case"base":return zs(t);case"referrer":case"url":return Us(t);default:return Ae()}case"perfEntry":switch(n.type){case"frame":case"iframe":case"navigation":case"other":return zs(t);default:return Us(t)}default:return Ae()}}function Us(t){return qs(Ds,t)}var Fs=Ht.DefaultOrgSettings.MaxUrlLength,Bs=Ie(Ht.DefaultOrgSettings.UrlPrivacyConfig),Ds=Ie(Ht.DefaultOrgSettings.UrlPrivacyConfig);function Hs(t,n){Bs=Ie(Ht.DefaultOrgSettings.UrlPrivacyConfig.concat(t)),Ds=Ie(t),Fs=n||Ht.DefaultOrgSettings.MaxUrlLength}function Ws(t,n){Cu.send(t,n)}function zs(t){return qs(Bs,t)}function qs(t,n){return Fe(t,n,xe,Ws).substring(0,Fs)}var Vs=/([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)/gi,$s=/(?:(http)|(ftp)|(ws)|(blob)|(file))[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+#]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/gi;function Gs(t){var n=t.replace(Vs,"");return n.replace($s,function(t){return Ls(t,{source:"log",type:"debug"})})}var Qs,Xs="https://fs-excluded.invalid";function Ys(t){var n,i,r,e,s,u,o,a,c,h,f,v,l,d,p,w;try{for(var g=(Qs={blocklist:{},hasPrefix:!1}).blocklist,m=(null!==(r=null==t?void 0:t.length)&&void 0!==r?r:0)>0?t:Ht.DefaultOrgSettings.AttributeBlocklist,y={},b=0,S=m;b2e6?[4,be()]:[3,3];case 2:e.sent(),e.label=3;case 3:return this.B&&t.disableCompression&&(this.B=!1),a=i({},t),c=a,[4,this.G(t.bundle)];case 4:return c.bundle=e.sent(),h=a.bundle,f=h[1],window,v=n(a),[4,lu(this.W,this.D,null!==(u=a.recHost)&&void 0!==u?u:ku(this.W),v,f)];case 5:return l=e.sent().text,d=sr(l),window,[2,[s(o),d]]}})})},t.prototype.G=function(t){return r(this,void 0,ce,function(){var n,i,r,s,u;return e(this,function(e){switch(e.label){case 0:return n=t[0],"string"===(i=t[1]).type&&this.B&&this.W.recording.flags().UseCompression?[4,ge(i.data)]:[3,2];case 1:if(r=e.sent(),s=r[0],u=r[1],null!=s)return[2,[n,{type:"ArrayBuffer",data:s,encoding:sn},s.byteLength]];this.B=!1,Mu("compression failed",{err:u}),e.label=2;case 2:return[2,t]}})})},t.prototype.bundleBeacon=function(t){var n;return gu(this.W,this.D,null!==(n=t.recHost)&&void 0!==n?n:ku(this.W),t)},t.prototype.startBeacon=function(t){return r(this,void 0,ce,function(){return e(this,function(n){return[2,mu(this.W,this.D,ku(this.W),t)]})})},t}(),cu=function(){function t(t){this.D=t.options.scheme,this.W=t}return t.prototype.uploadResource=function(t){return r(this,void 0,ce,function(){return e(this,function(n){switch(n.label){case 0:return[4,lu(this.W,this.D,ku(this.W),"/rec/uploadResource",t)];case 1:return[2,n.sent().text]}})})},t.prototype.queryResources=function(t){return r(this,void 0,ce,function(){return e(this,function(n){switch(n.label){case 0:return[4,lu(this.W,this.D,ku(this.W),"/rec/queryResources",{type:"string",data:iu(t)})];case 1:return[2,sr(n.sent().text)]}})})},t}();function hu(t,n){return void 0===n&&(n=wr()),vu("/rec/bundle".concat("v2"===t.version?"/v2":""),t,n)}function fu(t,n){return void 0===n&&(n=wr()),vu("/rec/event",t,n)}function vu(t,n,i){var r=n.bundle,e=r[0],s=r[1],u="encoding"in s?s.encoding:un,o="".concat(t,"?OrgId=").concat(n.orgId,"&UserId=").concat(n.userId,"&SessionId=").concat(n.sessionId,"&PageId=").concat(n.pageId,"&Seq=").concat(e,"&ClientTime=").concat(i,"&CompiledVersion=").concat(ou.Ver);return null!=n.serverPageStart&&(o+="&PageStart=".concat(n.serverPageStart)),null!=n.serverBundleTime&&(o+="&PrevBundleTime=".concat(n.serverBundleTime)),null!=n.lastUserActivity&&(o+="&LastActivity=".concat(n.lastUserActivity)),n.isNewSession&&(o+="&IsNewSession=true"),null!=n.deltaT&&(o+="&DeltaT=".concat(n.deltaT)),u===sn&&(o+="&ContentEncoding=".concat(sn)),o}function lu(t,n,i,s,u,o){return void 0===o&&(o=!1),r(this,void 0,ce,function(){return e(this,function(r){return[2,pu(t,"POST",n,i,_u(s),o,u)]})})}function du(t,n,i,s){return r(this,void 0,ce,function(){return e(this,function(r){return[2,pu(t,"GET",n,i,_u(s),!1)]})})}function pu(t,n,i,s,u,o,a){return r(this,void 0,ce,function(){var r,c,h,f,v,l,d;return e(this,function(e){switch(e.label){case 0:switch(r=t.options.request||wu,c="//".concat(s).concat(u),h={},null==a?void 0:a.type){case"string":case"ArrayBuffer":h["Content-Type"]=Ht.TextPlain}e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r(i,n,c,o,h,a)];case 2:return f=e.sent(),[3,4];case 3:throw v=e.sent(),Cu.send("fsRequest",{err:v,method:n,endpoint:u,isCustom:"".concat(r!==wu)}),v;case 4:if(l={text:f.responseText},200==f.status)return[2,l];try{d=sr(l.text)}catch(t){}throw new Ar(f.status,l.text,d)}})})}function wu(t,n,i,s,u,o){return r(this,void 0,ce,function(){var r;return e(this,function(e){return r=function(t){switch(null==t?void 0:t.type){case"string":case"ArrayBuffer":return t.data;case"FormData":var n=new FormData;for(var i in t.data){var r=t.data[i];if(void 0!==r)if("string"==typeof r)n.append(i,r);else{var e=new Blob([r.data],{type:r.contentType});n.append(i,e,r.filename)}}return n;default:return}}(o),[2,new ce(function(e){var o=!1,a=new XMLHttpRequest;for(var c in a.onreadystatechange=function(){a.readyState!==ji||o||(o=!0,e({status:a.status,responseText:a.responseText}))},a.open(n,"".concat(t).concat(i),!0),a.withCredentials=s,u)a.setRequestHeader(c,u[c]);a.send(r)})]})})}function gu(t,n,i,r){var e="".concat(n,"//").concat(i).concat(hu(r),"&SkipResponseBody=true"),s=r.bundle[1];return yu(t.options.beacon,e,s)}function mu(t,n,i,s){return r(this,void 0,ce,function(){var r,u,o,a,c;return e(this,function(e){switch(e.label){case 0:r=t.window.document.referrer,u=r?Ls(r,{source:"page",type:"referrer"}):"",o="orgId=".concat(s.orgId,"&userId=").concat(s.userId,"&sessionId=").concat(s.sessionId),a={referrer:u},e.label=1;case 1:return e.trys.push([1,3,,4]),[4,lu(t,n,i,"/rec/beacon?".concat(o),{type:"string",data:iu(a)})];case 2:return e.sent(),[3,4];case 3:return c=e.sent(),"failed to send session start beacon ".concat(c),[3,4];case 4:return[2]}})})}function yu(t,n,i){return(t||bu)(n,i)}function bu(t,n){if("function"==typeof navigator.sendBeacon)try{return navigator.sendBeacon.bind(navigator)(t,n.data)}catch(t){}return!1}function Su(t,n,i,s){var u;return r(this,void 0,ce,function(){var r,o;return e(this,function(e){switch(e.label){case 0:return r=null!==(u=s.version)&&void 0!==u?u:"v1",o=s.previewMode?"?previewMode=true":"",[4,du(t,n,i,"/s/settings/".concat(s.orgId,"/").concat(r,"/web").concat(o))];case 1:return[2,sr(e.sent().text)]}})})}function ku(t){var n,i=null===(n=t.recording.pageResponse())||void 0===n?void 0:n.GCLBSubdomain,r=t.options.recHost;return i&&In(r)?r.replace(/^rs\./,"".concat(i,".")):r}function _u(t){if(!window.Zone)return t;var n="?";return t.indexOf(n)>-1&&(n="&"),"".concat(t).concat(n,"ngsw-bypass=true")}var Au=/function\s*([\w\-$]+)?\s*\(/i;function Iu(t){return t.stack||t.backtrace||t.stacktrace}function Eu(){var t,n;try{throw new Error("")}catch(i){t="\n",n=Iu(i)}if(!n){t="\n";var i=[];try{for(var r=arguments.callee.caller.caller;r&&i.length<10;){var e=Au.test(r.toString())&&RegExp.$1||"[anonymous]";i.push(e),r=r.caller}}catch(t){t.toString()}n=i.join("\n")}return t+n}function Tu(){try{return window.self!==window.top}catch(t){return!0}}var Cu=function(){function t(){}return t.wrap=function(n,r,e){return void 0===e&&(e={}),Ci(n,function(n){t.send(r,i({err:n},e))})},t.X=15,t.send=function(n,i,r){if(void 0===i&&(i={}),void 0===r&&(r="error"),!(t.X<=0||(t.X--,Wn(window)))){var e=function(t,n,i){var r;void 0===i&&(i={});var e=function(t){return qi(t)&&"message"in t&&"name"in t}(i.err)?i.err:new Error(t),s=t||e.message||"".concat(null!==(r=i.err)&&void 0!==r?r:"")||"unknown error";e.message!==s&&(i.msg=e.message);var u=_r(document).fs_uid,o=u?kr(u):void 0;o&&o.orgId!=jn(window)&&(o=void 0);var a={projectRoot:window.location.origin,deviceTime:wr(),inIframe:Tu(),CompiledVersion:ou.Ver,CompiledTimestamp:ou.TS,orgId:jn(window),"userId:sessionId":o?"".concat(o.userId,":").concat(o.sessionId):"NA",context:document.location&&document.location.pathname,message:s,severity:n,language:ar(window),stacktrace:Iu(e)||Eu()},c=function(t,n,i){var r="".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(i));t.push(r)},h=[];for(var f in a)c(h,f,a[f]||"");for(var f in i){var v=xu(i[f]);c(h,"aux_".concat(f),v)}return"https://".concat(Rn(window),"/rec/except?").concat(h.join("&"))}(n,r,i);yu($n(window),e,{data:"",type:"string"})||(new Image().src=e)}},t}();function xu(t){try{var n=typeof t;switch(n){case"string":case"number":case"boolean":case"undefined":return"".concat(t);default:var i="".concat(n,": ").concat(iu(t));return"function"==typeof t.toString&&(i+=" (toString: ".concat(t.toString(),")")),i}}catch(t){return"failed to serialize \"".concat(null==t?void 0:t.message,"\"")}}var Ru={};function Ku(t,n,i){return void 0===i&&(i=1),!!t||(Ru[n]=Ru[n]||0,Ru[n]++,!(Ru[n]>i)&&(Cu.send("Assertion failed: ".concat(n)),t))}var ju={};function Mu(t,n){var i;void 0===n&&(n={}),ju[t]=null!==(i=ju[t])&&void 0!==i?i:0,ju[t]++,ju[t]>1||Cu.send(t,n)}var Pu="_fs_weak_map_key",Ou=function(){function t(t,n){void 0===n&&(n=!1),this.Y=n,this.J=new WeakMap(t)}return t.prototype.get=function(t){return this.Y||!this.J.has(t)?this.J.get(Nu(t)):this.J.get(t)},t.prototype.set=function(t,n){if(!this.Y)try{return this.J.set(t,n),this}catch(t){}return this.Z(t,n)},t.prototype.Z=function(t,n){return t[Pu]=Nu(t),this.J.set(t[Pu],n),this},t.prototype["delete"]=function(t){return this.J["delete"](t)||this.J["delete"](Nu(t))},t.prototype.has=function(t){return this.J.has(t)||this.J.has(Nu(t))},t}();function Nu(t){return Object.prototype.hasOwnProperty.call(t,Pu)?t[Pu]:{}}var Lu=function(){function t(t,n,i,r){var e;void 0===i&&(i=!1),this.tt=t,this.nt=n,this.it=i,this.rt=xi,this.et=void 0,this.st=xi,this.ut=xi,this.ot=!1,this.ct=null===(e=r.options.preHooks)||void 0===e?void 0:e.get(t)}return t.prototype.before=function(t){return this.rt=rr(t),this},t.prototype.replaceSync=function(t){return this.et=rr(t),this},t.prototype.afterSync=function(t){return this.ct?this.st=Uu(t):this.st=rr(t),this},t.prototype.afterAsync=function(t){return this.ut=Uu(t),this},t.prototype.disable=function(){if(this.ot=!1,this.ht){var t=this.ht,n=t.override,i=t["native"];this.ct&&this.ct[this.nt]===n?(delete this.ct[this.nt],this.ht=void 0):this.tt[this.nt]===n&&(this.tt[this.nt]=i,this.ht=void 0)}},t.prototype.enable=function(){if(this.ot=!0,this.ht)return!0;if(this.ht=this.ft(),this.ct)this.ct[this.nt]=this.ht.override;else try{this.tt[this.nt]=this.ht.override}catch(t){return!1}return!0},t.prototype.getTarget=function(){return this.tt},t.prototype.ft=function(){var t=this,n=this,r=this.tt[this.nt],e=function(){for(var t=[],e=0;e-1)return this.lt.splice(n,1)[0]},t}();function qu(t,n){return n&&t.pageLeft==n.pageLeft&&t.pageTop==n.pageTop}function Vu(t,n){return n&&t.width==n.width&&t.height==n.height}function $u(t){return{pageLeft:t.pageLeft,pageTop:t.pageTop,width:t.width,height:t.height}}function Gu(t){return"BackCompat"==t.compatMode}function Qu(t){return t&&t.body&&t.documentElement?Gu(t)?[t.body.clientWidth,t.body.clientHeight]:[t.documentElement.clientWidth,t.documentElement.clientHeight]:[0,0]}var Xu=function(){function t(t,n){var i,r,e,s;this.hasKnownPosition=!1,this.pageLeft=0,this.pageTop=0,this.width=0,this.height=0,this.clientWidth=0,this.clientHeight=0;var u=t.document;if(u&&u.documentElement&&u.body){i=Qu(u),this.clientWidth=i[0],this.clientHeight=i[1];var o=t.visualViewport;if(o){this.hasKnownPosition=!0,this.pageTop=o.pageTop-o.offsetTop,this.pageLeft=o.pageLeft-o.offsetLeft,0==this.pageTop&&(this.pageTop=0),0==this.pageLeft&&(this.pageLeft=0);var a=null!==(e=to(t,"innerWidth"))&&void 0!==e?e:0,c=null!==(s=to(t,"innerHeight"))&&void 0!==s?s:0;if(a>0&&c>0)return this.width=a,void(this.height=c)}if(void 0!==n&&this.clientWidth==n.clientWidth&&this.clientHeight==n.clientHeight&&n.width>0&&n.height>0)return this.width=n.width,void(this.height=n.height);r=this.yt(t),this.width=r[0],this.height=r[1]}}return t.prototype.yt=function(t){var n=Yu(t,"width",this.clientWidth,this.clientWidth+128);void 0===n&&(n=to(t,"innerWidth")),void 0===n&&(n=this.clientWidth);var i=Yu(t,"height",this.clientHeight,this.clientHeight+128);return void 0===i&&(i=to(t,"innerHeight")),void 0===i&&(i=this.clientHeight),[n,i]},t}();function Yu(t,n,i,r){if(Si.matchMedia){var e=i,s=r,u=Si.matchMedia(t,"(min-".concat(n,": ").concat(e,"px)"));if(null!=u){if(u.matches&&Si.matchMedia(t,"(max-".concat(n,": ").concat(e,"px)")).matches)return e;for(;e<=s;){var o=Si.mathFloor((e+s)/2);if(Si.matchMedia(t,"(min-".concat(n,": ").concat(o,"px)")).matches){if(Si.matchMedia(t,"(max-".concat(n,": ").concat(o,"px)")).matches)return o;e=o+1}else s=o-1}}}}function Ju(t,n){return new Xu(t,n)}var Zu=function(t,n){this.offsetLeft=0,this.offsetTop=0,this.pageLeft=0,this.pageTop=0,this.width=0,this.height=0,this.scale=0;var i=t.document;if(i.body){"pageXOffset"in t?(this.pageLeft=t.pageXOffset,this.pageTop=t.pageYOffset):i.scrollingElement?(this.pageLeft=i.scrollingElement.scrollLeft,this.pageTop=i.scrollingElement.scrollTop):Gu(i)?(this.pageLeft=i.body.scrollLeft,this.pageTop=i.body.scrollTop):i.documentElement&&(i.documentElement.scrollLeft>0||i.documentElement.scrollTop>0)?(this.pageLeft=i.documentElement.scrollLeft,this.pageTop=i.documentElement.scrollTop):(this.pageLeft=i.body.scrollLeft||0,this.pageTop=i.body.scrollTop||0),this.offsetLeft=this.pageLeft-n.pageLeft,this.offsetTop=this.pageTop-n.pageTop;var r=0,e=0;try{r=t.innerWidth,e=t.innerHeight}catch(t){return}if(0!=r&&0!=e){this.scale=n.width/r,this.scale<1&&(this.scale=1);var s=n.width-n.clientWidth,u=n.height-n.clientHeight;this.width=r-s/this.scale,this.height=e-u/this.scale}}};function to(t,n){try{return t[n]}catch(t){return}}function no(t){var n=[t.clientWidth,t.clientHeight];return t.width===t.clientWidth&&t.height===t.clientHeight||n.push(t.width,t.height),n}var io,ro,eo=function(t,n,i){function r(n,i){var r=0;try{t(n,function(t,n){if(r++>i)throw"break";if("object"==typeof n)return n})}catch(t){return"break"!=t}return!1}var e=function(t,n,i){return void 0===i&&(i="..."),t.length<=n?t:t.length<=i.length||n<=i.length?t.substring(0,n):t.substring(0,n-i.length)+i};function s(r,u,o,a){if(u<1)return 0;var c=function(t){switch(!0){case function(t){return!(!t||t.constructor!=Date)}(t):return n=t,isNaN(n)?"Invalid Date":n.toUTCString();case function(t){return"object"==typeof Node?t instanceof Node:t&&"object"==typeof t&&t.nodeType>0&&"string"==typeof t.nodeName}(t):return function(t){return t.toString()}(t);case void 0===t:return"undefined";case"object"!=typeof t||null==t:return t;case t instanceof Error:return[t.toString(),t.stack].filter(Boolean).join(",")}var n}(r);if(void 0!==c){var h=function(n,i){var r=t(n);return r&&"\""==r[0]?e(r,i,"...\""):r}(c,u);return"string"==typeof h&&h.length<=u?(a.tokens.push(h),h.length):0}if(a.cyclic){a.opath.splice(o);var f=a.opath.lastIndexOf(r);if(f>-1){var v="");return v="\"".concat(e(v,u-2),"\""),a.tokens.push(v),v.length}a.opath.push(r)}var l=u,d=function(t){return l>=t.length&&(l-=t.length,a.tokens.push(t),!0)},p=function(t){var n=a.tokens.length-1;","===a.tokens[n]?a.tokens[n]=t:d(t)};if(l<2)return 0;if(n(r)){d("[");for(var w=0;w0;w++){var g=s(r[w],l-1,o+1,a);if(l-=g,0==g&&!d("null"))break;d(",")}p("]")}else{d("{");var m=i(r);for(w=0;w0;w++){var y=m[w],b=r[y];if(!d("\"".concat(y,"\":")))break;if(0==(g=s(b,l-1,o+1,a))){a.tokens.pop();break}l-=g,d(",")}p("}")}return u==1/0?1:u-l}return function(t,n){void 0===n&&(n=1024);try{var i={tokens:[],opath:[],cyclic:r(t,n/4)};return s(t,n,0,i),i.tokens.join("")}catch(t){return nu(t)}}}(Si.jsonStringify,Di,Xi),so=function(){function t(){var n=this;this.bt=0,this.St=t.kt++,this._t=Cu.wrap(function(){n.At(),n.It&&n.It()},"time#wrappedTick")}return t.checkForBrokenSchedulers=function(){return r(this,void 0,ce,function(){var n,i;return e(this,function(r){switch(r.label){case 0:return!Si.requestWindowAnimationFrame||t.Et||(n=wr())-t.Tt<100?[2,!1]:(t.Tt=n,t.Et=!0,[4,new ce(function(t){return Si.requestWindowAnimationFrame(window,t)})]);case 1:return r.sent(),i=[],Ji(t.Ct,function(t){var r=t.xt(n);r&&i.push(r)}),[4,ce.all(i)];case 2:return r.sent(),Si.requestWindowAnimationFrame(window,Cu.wrap(function(){t.Et=!1},"checkForBrokenSchedulers")),[2,!0]}})})},t.stopAll=function(){Ji(this.Ct,function(t){return t.stop()})},t.prototype.Rt=function(t){this.It=t},t.prototype.stop=function(){this.Kt(),delete t.Ct[this.St]},t.prototype.jt=function(n){this.bt=wr()+100+1.5*n,t.Ct[this.St]=this},t.prototype.Mt=function(){return null!=t.Ct[this.St]},t.prototype.At=function(){delete t.Ct[this.St]},t.prototype.xt=function(t){if(t>this.bt)return ce.resolve().then(this._t)["catch"](function(){})},t.Ct={},t.kt=0,t.Et=!1,t.Tt=0,t}(),uo=function(t){function i(n){var i=t.call(this)||this;return i.Pt=n,i.Ot=-1,i}return n(i,t),i.prototype.start=function(t,n){var i=this;void 0===n&&(n=this.Pt),-1==this.Ot&&(this.Pt=n,this.Rt(function(){t(),i.jt(i.Pt)}),this.Ot=Si.setWindowInterval(window,this._t,this.Pt),this.jt(this.Pt))},i.prototype.Kt=function(){-1!=this.Ot&&(Si.clearWindowInterval(window,this.Ot),this.Ot=-1,this.Rt(function(){}))},i}(so),oo=function(t){function i(n,i,r){void 0===i&&(i=0);for(var e=[],s=3;sn&&(this.Dt=t-n,this.Dt>1e3&&this.Wt("timekeeper set with future ts"))},t.prototype.Wt=function(t){eo({msg:t,skew:this.Dt,startTime:this.Ht,wallTime:this.wallTime()},1024)},t}();(ro=io||(io={})).Indeterminate="indeterminate",ro.Checked="checked",ro.Value="value";var ho=function(){function t(t,n){var i;this.W=t,this.zt=n,this.qt=!1,this.Vt={},this.$t=((i={})[io.Checked]={},i[io.Indeterminate]={},i[io.Value]={},i),this.Gt={},this.Qt=[],this.Xt={},this.Yt=!1,this.Jt=!1,this.Zt={},this.tn=null,this.t=t.window.document}return t.prototype.start=function(){this.nn()||(this.qt=!0)},t.prototype.hookInstance=function(t,n){if("input"===cs(n))switch(n.type){case"checkbox":case"radio":this.rn(t,n,"checked");break;default:this.rn(t,n,"value")}},t.prototype.addInput=function(t){if(t){var n=_s(t);if(n){if("input"===cs(t)){var i=t;this.en(n,i),i.indeterminate&&this.sn(i,!0)}var r=!1;if(function(t){switch(t.type){case"checkbox":return t.checked!=t.hasAttribute("checked");case"radio":return t.checked||t.hasAttribute("checked");default:return(t.value||"")!=function(t){if("select"!=cs(t))return t.getAttribute("value")||"";var n=t,i=n.querySelector("option[selected]")||n.querySelector("option");return i&&i.value||""}(t)}}(t)&&(this.un(t,!1,!0),r=!0),this.qt&&(this.Vt[n]={elem:t}),!r)if(po(t)){var e=fo(t);t.checked&&(this.Gt[e]=n)}else this.on(n,io.Value,lo(this.W,t))}}},t.prototype.on=function(t,n,i){this.$t[n][t]=i},t.prototype.an=function(t,n){return this.$t[n][t]},t.prototype.cn=function(t){for(var n in this.$t)delete this.$t[n][t]},t.prototype.en=function(t,n){if(this.Yt)this.Jt&&this.hookInstance(t,n);else{var i="checkbox"===n.type||"radio"===n.type?"checked":"value",r=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,i),e=Object.getOwnPropertyDescriptor(n,i);r&&e&&r!==e&&(this.Jt=!0,this.hookInstance(t,n)),this.Yt=!0}},t.prototype.hn=function(t,n){void 0===n&&(n=lo(this.W,t));var i=_s(t);if(!t||!i)return!1;if(po(t)){var r=fo(t);return this.Gt[r]===i!=("true"===n)}return this.an(i,io.Value)!==n},t.prototype.onChange=function(t,n,i){void 0===i&&(i=lo(this.W,t));var r=_s(t);t&&r&&(n||this.hn(t,i))&&this.un(t,n)},t.prototype.onInputChange=function(t){if(t){var n=t;if(n.nodeType===Node.ELEMENT_NODE){var i=ks(n);if(i){var r=n,e=lo(this.W,r);this.vn(i,r,e)}}}},t.prototype.onKeyboardChange=function(t){var n,i=function(t){for(var n=t.activeElement;n&&n.shadowRoot;){var i=n.shadowRoot.activeElement;if(!i)return n;n=i}return n}(this.t);i&&("value"in(n=i)||"checked"in n)&&!gs(i)&&this.hn(i)&&this.un(i,t)},t.prototype.tick=function(){for(var t in this.Vt){var n=this.Vt[t],i=n.elem;if(_s(i))try{delete this.Vt[t];var r=lo(this.W,i);if(this.hn(i,r))this.un(i);else if(n.noFsIdInOption){var e=i;Array.prototype.slice.call(e.options).every(function(t){return _s(t)})&&(n.noFsIdInOption=!1,this.un(i))}}finally{this.qt&&(this.Vt[t]=n)}else delete this.Vt[t],this.cn(t),po(i)&&delete this.Gt[fo(i)]}},t.prototype.stop=function(){for(var t,n=0,i=this.Qt;n0&&u.height>0,a=ms(t)?Ge(s):s;r.zt.enqueue({Kind:O.VALUECHANGE,Args:[e,a,n,o,i]})})}},t.prototype.ln=function(t,n){if(this.Vt[t])return!0;if("select"!==cs(n))return!1;for(var i=n.options,r=0;r0,s))throw s;for(var u=0,o=t;u0&&this.jn--,xo(this.Mn.prev)},t.prototype.shift=function(){return this.jn>0&&this.jn--,xo(this.Mn.next)},t}();function Co(t,n){var i=t.next;n.next=i,n.prev=t,t.next=i.prev=n}function xo(t){var n=t.prev,i=t.next;return n.next=i,i.prev=n,t.value}var Ro,Ko,jo={timeRemaining:function(){return 1},didTimeout:!1};(Ko=Ro||(Ro={}))[Ko.Idle=0]="Idle",Ko[Ko.Scheduled=1]="Scheduled",Ko[Ko.Processing=2]="Processing";var Mo=function(){function t(t){void 0===t&&(t=1),this.Pn=t,this.kt=1,this.On=Ro.Idle,this.Nn=new To,this.Ln={},this.Un=1}return t.prototype.enqueue=function(t,n){var i=this;if(void 0===n&&(n=!1),!(this.On===Ro.Processing&&this.Un>16)){var r={id:this.kt++,isCompleted:!1,process:t,depth:this.Un,store:n};return this.Nn.push(r),this.Fn(),n?function(){return i.Bn(r)}:void 0}Mu("deep recursive task")},t.prototype.Bn=function(t){try{var n=t.id,i=this.Ln[n];return i?(delete this.Ln[n],[i.result,i.err]):(Po(jo,t),Ku(t.isCompleted,"queue#task"),[t.result,t.err])}finally{t.result=void 0,t.err=void 0}},t.prototype.flush=function(){this.Dn(jo)},t.prototype.Fn=function(){this.On===Ro.Idle&&(this.On=Ro.Scheduled,this.Hn())},t.prototype.Dn=function(t){if(this.On===Ro.Scheduled){var n=0;this.On=Ro.Processing;for(var i=this.Nn.first();i&&Oo(n,this.Pn,t);)this.Un=i.depth+1,Po(t,i),i.isCompleted&&(this.Nn.shift(),!i.store||void 0===i.result&&void 0===i.err||(this.Ln[i.id]=i)),i=this.Nn.first(),n++;this.On=Ro.Idle,this.Un=1,this.Nn.size()>0&&this.Fn()}},t}();function Po(t,n){var i;if(!n.isCompleted)try{var r=(null===(i=n.process)||void 0===i?void 0:i.call(n,t))||{done:!0};r.done&&(n.isCompleted=!0,n.result=r.result,delete n.process)}catch(t){n.isCompleted=!0,n.err=t,delete n.process}}function Oo(t,n,i){return t0}var No=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return n(i,t),i.prototype.Hn=function(){var t=this;be().then(function(){t.Dn(ke(36))})},i}(Mo),Lo={INPUT:!0,TEXTAREA:!0,NOSCRIPT:!0},Uo=function(){function t(t,n,i,r){this.Wn=t,this.zn=n,this.qn=i,this.Vn=r,ps(),this.Nn=new No}return t.prototype.tokenizeNode=function(t,n,i,r,e,s,u){var o=this,a=ys(n),c=ys(i),h=[];return function(n){var i=ds;try{return o.$n(t,a,c,r,h,e,s,u),!0}catch(t){return Mu("tryTokenize",{err:t}),ds=i,!1}}()||(h=[]),h},t.prototype.$n=function(t,n,i,r,e,s,u,o){for(var a,c,h=[{parentMirror:n,nextMirror:i,node:r}],f=function(t,n){return function(i){i&&t.push({parentMirror:n,nextMirror:null,node:i})}};h.length;){var v=h.pop();if(v)if("string"!=typeof v){var l=v.node,d=this.Gn(t,v,e,s,u);if(null!=d&&!(null===(a=d.watchKind)||void 0===a?void 0:a.has(Qe.Exclude))){var p=d.type===Ri?l.shadowRoot:null;(p||Bi(l))&&((null===(c=d.watchKind)||void 0===c?void 0:c.has(Qe.Defer))?o(l,Ye.Deferred):(h.push("]"),Oi(l,f(h,d)),p&&h.push({parentMirror:d,nextMirror:null,node:p}),h.push("[")))}}else"<"===v[0]&&++ds,e.push(v)}},t.prototype.Gn=function(t,n,i,r,e){var s,u,o,a,c=n.node,h=n.parentMirror,f=n.nextMirror,l=cs(c),d=c.nodeName,p=c.nodeType;if("script"===l||8===p)return null;var w=function(t){var n;if(t===(null===(n=null==t?void 0:t.host)||void 0===n?void 0:n.shadowRoot))return function(t){return function(t){if(!Wi(t))return!1;try{return vi(Function.prototype.toString,t)}catch(t){return!1}}(t.constructor)}(t)?"#shadow":Io}(c);if(w===Io)return null;var g,m,y,b,S,k=function(t,n,i,r){void 0===n&&(n=t.nodeName),void 0===i&&(i=t.nodeType),void 0===r&&(r=cs(t));var e={id:ds++,name:n,type:i,tag:r};return hs.set(t,e),fs.set(e.id,t),e}(c,d,p,l);k.shadowRootType=w||(null==h?void 0:h.shadowRootType),h&&(w?(h.shadow=k,k.parent=h):(g=h,y=f,Is(m=k,this.Vn.bind(this)),m.parent=g,m.next=y,y&&(m.prev=y.prev,y.prev=m),null==m.next?(m.prev=g.lastChild,g.lastChild=m):m.next.prev=m,null==m.prev?g.child=m:m.prev.next=m)),k.mask=null===(s=k.parent)||void 0===s?void 0:s.mask;try{switch(p){case 3:if(void 0===k.mask&&(k.mask=!k.parent||k.parent.mask),k.mask){var _=Ui(c);(null==_?void 0:_.nodeType)===Ri&&this.zn.observe(_)}S=null!==(u=c.textContent)&&void 0!==u?u:"";break;case Ri:var A=c,I=this.getWatchState(A,d,!!k.shadowRootType,t);if(null!=I){k.watchKind=I;var E=!1;I.has(Qe.Watch)&&(E=!0,null===(o=this.qn)||void 0===o||o.observe(A)),I.has(Qe.Unmask)&&(k.mask=!1),I.has(Qe.Mask)&&(k.mask=!0),(I.has(Qe.Exclude)||I.has(Qe.Defer))&&(E=!0),E&&this.zn.observe(A)}b=function(t,n){var i,r,e;if(!v||"output"!==n){var s={};try{if(t.hasAttributes())if(void 0!==t.getAttributeNames)for(var u=0,o=null!==(i=t.getAttributeNames())&&void 0!==i?i:[];u1e3)return null;if(!i||i.nodeType!=Ri)return null;var r=i;if(getComputedStyle(r).display.indexOf("inline")<0)return r;i=Ui(i)}}(t);if(r&&r!==t){this.pi.set(t,i),this.vi(t);var e=this.di.get(r);e||(e=Object.create(null),this.di.set(r,e)),e[i]=i,Si.setWindowTimeout(this.W.window,Ci(function(){n.gi.unobserve(r),n.gi.observe(r)}),0)}}},i}(ra),sa=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return n(i,t),i.prototype.observe=function(t){var n=this;if(t&&t.nodeType==Ri){var i=t;!function(t){if(t){var n=Ss(t.id);if(n&&ws(n,t))for(var i=t,r=t.parent;r;r=r.parent){if(ua(r)||(r.watchedChildren={}),ua(i))for(var e in ua(i))delete ua(r)[e];if(ua(r)[i.id]=i,tr(ua(r),2))i=r;else if(nr(ua(r),2))break}}}(ys(t)),this.W.measurer.enqueue(function(){n.vi(i)})}},i.prototype.unobserveSubtree=function(t){var n=ys(t);n&&function(t){var n=Ss(t.id);if(n&&(nr(ua(t),0)||ws(n,t)))for(var i=ua(t)&&nr(ua(t),1)||ws(n,t)?t.id:function(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))return n}(ua(t)),r=i?t.parent:null;r&&ua(r)&&ua(r)[i];){if(delete ua(r)[i],tr(ua(r),1)){var e=r.id,s=Zi(ua(r));for(r=r.parent;r&&ua(r)&&ua(r)[e];)delete ua(r)[e],ua(r)[s.id]=s,r=r.parent;break}r=r.parent}}(n)},i.prototype.nodeChanged=function(t){var n=this,i=function(t){var n=[],i=ys(t);if(i)for(var r=[i],e=0;r.length&&++e<1e3;){var s=r.pop(),u=Ss(s.id);u&&ws(u,s)&&n.push(u),ua(s)&&Ji(ua(s),function(t){r.push(t)})}else{for(var o=t;o&&!ks(o);)o=Ui(o);o&&ws(o)&&n.push(o)}return n}(t);this.W.measurer.enqueue(function(){for(var t=0,r=i;tRs?(Cu.send("Ignoring huge text node",{length:r,max:Rs},"warning"),""):t.mask?Ge(n):n}(i,s);t[_o.Text]=f}}};function va(t){for(var n=0;n0||this.Ai.length>0){var o=this.Bi(t,i,u),a=o[0],c=o[1];for(var h in c)i.push({Kind:O.MUT_ATTR,Args:c[h],When:t});for(var h in a)i.push({Kind:O.MUT_TEXT,Args:a[h],When:t})}var f=this._i;this._i=[];for(var v=0;v0&&(i.push({Kind:O.DEFERRED_RESOLVED,Args:s([],this.Ei,!0),When:t}),this.Ei=[]),this.Ii.length>0){for(var d=0,p=this.Ii;d0)for(var p=0;p0&&(c[d]=l.target);break;case"characterData":if((A=ys(l.target))&&!gs(l.target,A)){var w=l.target.textContent;if(l.oldValue===w)break;var g=Ui(l.target);if(g&&"style"===cs(g)&&!xs(g))h(g);else{var m=[So.Update,A,l.target,void 0,null!=w?w:void 0];Eo(v.xi,v.Ri,m,function(t){var n;u[d]=[d,null!==(n=t[_o.Text])&&void 0!==n?n:""]})}}break;case"attributes":var y=l.target,b=cs(y);if(l.attributeNamespace==vn){"style"==b&&l.attributeName==ln&&v.Si(y);break}if("link"===b&&"rel"===l.attributeName&&Ks.test(null!==(r=l.oldValue)&&void 0!==r?r:"")){h(y);break}var S=function(t,n){return void 0===n&&(n=ys(t)),null==n?void 0:n.watchKind}(y),k=v.Wn.isWatched(y);if(Jo(k)>Jo(S)){h(y);break}if(Wo.needsToObserve(S,k)){v.zn.observe(y),(null==k?void 0:k.has(Qe.Watch))&&(null===(e=v.qn)||void 0===e||e.observe(y));var _=ys(y);_&&(_.watchKind=Wo.combineKindsPreservePrivacy(S,k))}var A,I=(void 0===(f=l.attributeNamespace)&&(f=""),(null===f?"":{"http://www.w3.org/1999/xlink":"xlink:","http://www.w3.org/XML/1998/namespace":"xml:","http://www.w3.org/2000/xmlns/":"xmlns:"}[f]||"")+(l.attributeName||"")),E=l.target.getAttribute(I);(A=ys(l.target))&&l.oldValue!=E&&(m=[So.Update,A,l.target,(s={},s[I]=E||"",s),void 0],Eo(v.xi,v.Ri,m,function(t){var n,i=null!==(n=t[_o.Attrs])&&void 0!==n?n:{};for(var r in i){var e=i[r];y.hasAttribute(r)||(e=null),o["".concat(d," ").concat(r)]=[d,r,e]}}))}}catch(t){}},v=this,l=0;l=1e3&&(o=!0)}catch(t){Mu("ruleOpt",{err:t})}o&&(a=t(o))}var f=!1;for(h=0;h0&&i.push({Kind:O.RESOLVABLE_EVENT,Args:[O.MUT_SHADOW,function(){return[s,la(o)]}],When:n},{Kind:O.TIMING,Args:[[F.Internal,D.Serialization,W.NodeEncoding,n,a]],When:n})},t.prototype.Wi=function(t,n,i,r,e,s){var u=ks(r)||-1,o=ks(s)||-1,a=-1===u&&-1===o,c=wr();window;var h=this.Qi(t,r,e,s);window;var f=wr()-c;h.length>0&&(i.push({Kind:O.RESOLVABLE_EVENT,Args:[O.MUT_INSERT,function(){return[u,o,la(h)]}],When:n},{Kind:O.TIMING,Args:[[F.Internal,D.Serialization,a?W.DomSnapshot:W.NodeEncoding,n,f]],When:n}),this.bi())},t.prototype.Qi=function(t,n,i,r){var e=this;return n&&gs(n)?[]:this.ji.tokenizeNode(t,n,r,i,this.xi,this.Ri,function(t,n){switch(n){case Ye.Immediate:e.refreshElement(t);break;case Ye.Deferred:e.Ii.push(t)}})},t.prototype.qi=function(t,n,i){var r=i.id;if(Is(i,this.Vn.bind(this)),n.length>0){var e=n[n.length-1];if(e.Kind==O.MUT_REMOVE)return void e.Args.push(r)}n.push({Kind:O.MUT_REMOVE,Args:[r],When:t})},t.prototype.Mi=function(){var n=this;if(f){var r=Object.getOwnPropertyDescriptor(Node.prototype,"textContent"),e=r&&r.set;if(!r||!e)throw new Error("Missing textContent setter -- not safe to record mutations.");Object.defineProperty(Element.prototype,"textContent",i(i({},r),{set:function(t){try{for(var n=void 0;n=Fi(this);)this.removeChild(n);if(null===t||""==t)return;var i=(this.ownerDocument||document).createTextNode(t);this.appendChild(i)}catch(n){e&&e.call(this,t)}}}))}this.Xi=new ao(t.ThrottleMax,t.ThrottleInterval,function(){return new oo(function(){n.Ci=!0,n.Ni()}).start()});var s=this.Xi.guard(function(t){var n=t.cssText;t.cssText=n});this.Xi.open(),this.Yi=Bu(this.W,CSSStyleDeclaration.prototype,"setProperty"),this.Yi&&this.Yi.afterSync(function(t){s(t.that)}),this.Ji=Bu(this.W,CSSStyleDeclaration.prototype,"removeProperty"),this.Ji&&this.Ji.afterSync(function(t){s(t.that)})},t.prototype.Ni=function(){this.Xi&&this.Xi.close(),this.Yi&&this.Yi.disable(),this.Ji&&this.Ji.disable()},t.prototype.updateConsent=function(){var t=this;this.Mn&&Pi(this.Mn,function(n){return t.refreshElement(n)})},t.prototype.refreshElement=function(t){ks(t)&&this.Ai.push(t)},t.prototype.acceptSanitizer=function(t){this.xi.push(t)},t.prototype.acceptVisitor=function(t){this.Ri.push(t)},t.prototype.visit=function(t){},t.prototype.preVisit=function(t,n){if(t.type===Ri&&!gs(n,t)){var i=n;i.shadowRoot&&this.Di(i.shadowRoot)}},t.ThrottleMax=1024,t.ThrottleInterval=1e4,t}();function pa(t,n){void 0===n&&(n=!1);var i=1;if(!t||t.nodeType!==Ri)return i;var r=t;if(i+=Si.elQuerySelectorAll(r,"*").length,n){var e=r.shadowRoot;e&&11===e.nodeType&&(i+=Si.docFragQuerySelectorAll(e,"*").length)}return i}function wa(t){return Ku(!!t,"MutationWatcher#nodeNotFound")}var ga,ma=function(t,n,r){try{if(-1!==PerformanceObserver.supportedEntryTypes.indexOf(t)){var e=new PerformanceObserver(function(t){ce.resolve().then(function(){n(t.getEntries())})}),s=i({type:t,buffered:!0},r);return e.observe(s),e}}catch(t){}},ya=0,ba=1/0,Sa=0;function ka(t){for(var n=0,i=t;n0&&i.addEventListener&&i.removeEventListener&&this.vt.add(i,"resourcetimingbufferfull",!0,function(){t.zt.enqueue({Kind:O.RESOURCE_TIMING_BUFFER_FULL,Args:[]})}),this.lr(),this.dr())},t.prototype.onLoad=function(){if(!this.sr){this.sr=!0;var t=window.performance;t&&t.timing&&this.pr(at.Timing,t.timing,ht.Timing)}},t.prototype.tick=function(){this.lr()},t.prototype.stop=function(){this.vt.clearAll(),this.cr=void 0;var t=[];if(this.ur.length>0){for(var n=0,i=this.ur;n300&&(t=t.slice(0,300),this.zt.enqueue({Kind:O.RESOURCE_TIMING_BUFFER_FULL,Args:[]})),this.lr(),this.Hn(t),this.W.taskQueue.flush()},t.prototype.Hn=function(t){for(var n=this,i=function(t){r.W.taskQueue.enqueue(function(){return n.wr(t)})},r=this,e=0,s=t;e.2)&&(this.pr(at.Memory,n,ht.Memory),this.er=n.usedJSHeapSize)}}},t.prototype.dr=function(){var t={timeOrigin:pr.timeOrigin};this.pr(at.TimeOrigin,t,ht.TimeOrigin)},t.prototype.wr=function(t){switch(t.entryType){case Ta:this.gr(),this.pr(at.EventTiming,t,ht.EventTiming);break;case _a:this.pr(at.FirstInput,t,ht.FirstInput);break;case Aa:this.pr(at.LargestContentfulPaint,t,ht.LargestContentfulPaint);break;case Ia:this.pr(at.LayoutShift,t,ht.LayoutShift);break;case Ea:this.pr(at.LongTask,t,ht.Measure);break;case Ma:this.mr(t);break;case Ca:this.pr(at.Mark,t,ht.Measure);break;case xa:this.pr(at.Measure,t,ht.Measure);break;case Ra:this.pr(at.Navigation,t,ht.Navigation,{name:Ra});break;case Ka:this.pr(at.Paint,t,ht.Measure);break;case ja:this.yr(t)}},t.prototype.mr=function(t){if(t.scripts)for(var n=0,i=t.scripts;n=this.ir)return!0;this.rr++}return!1},t.prototype.vr=function(t){for(var n=window.performance,i=[vt.Performance,!!(null==n?void 0:n.timing),vt.PerformanceEntries,"function"==typeof(null==n?void 0:n.getEntries),vt.PerformanceMemory,!!(null==n?void 0:n.memory),vt.PerformanceObserver,!!window.PerformanceObserver,vt.PerformanceTimeOrigin,!!(null==n?void 0:n.timeOrigin)],r=0,e=t;r=n&&(f?e=void 0:(e=Ua,f=!0)),h[h.length-1]--,u&&e&&e!==Ht.BlockedFieldValue?h.push(Si.objectKeys(e).length):a.pop();h[h.length-1]<=0;)h.pop(),a.pop();for(var o=0,v=r;o0&&l!==h.length-1)throw new Error("Property matcher depth out of sync")}return e})}catch(i){Cu.send("allowlistedJson",{err:i,maxLength:n,ctor:t.constructor.name})}return"[error serializing ".concat(t.constructor.name,"]")}}var Ba=function(){function t(t){this.Sr=1;var n=[t];t.edges["**"]&&n.push(t.edges["**"]),this.kr=[n]}return t.prototype._r=function(){if(this.kr.length<=0)return[];var t=this.kr.length-1,n=this.kr[t];return"number"==typeof n?this.kr[t-1]:n},t.prototype.depth=function(){return this.Sr},t.prototype.isRedacted=function(t){var n=this._r();return 0===n.length||t&&!n.some(function(t){return t.term})},t.prototype.push=function(t){var n;this.Sr++;var i=this._r(),r=[];function e(n){n.edges["**"]&&(r.push(n.edges["**"],Da(n)),e(n.edges["**"])),n.edges["*"]&&r.push(n.edges["*"]),n.edges[t]&&r.push(n.edges[t])}for(var s=0,u=i;s0&&this.Sr--;var t=this.kr[this.kr.length-1];"number"==typeof t&&t>1?this.kr[this.kr.length-1]--:this.kr.pop()},t}();function Da(t){var n=t.edges["**"];if(!n)throw new Error("Node must have double-wildcard edge.");return nr(t.edges,1)?{id:-n.id,edges:{"**":n}}:t}var Ha=("TextDecoder"in window),Wa=("Request"in window),za=!R&&!g,qa="ReadableStream"in window&&"function"==typeof ReadableStream.prototype.tee,Va=function(){function t(t,n){this.W=t,this.Ar=n,this.Ir=null,this.Er=Ht.DefaultOrgSettings.MaxAjaxPayloadLength,this.Tr=new Ou}return t.prototype.setMaxAjaxPayloadLength=function(t){this.Er=t||Ht.DefaultOrgSettings.MaxAjaxPayloadLength},t.prototype.disable=function(){this.Ir&&(this.Ir.disable(),this.Ir=null)},t.prototype.enable=function(t){var n,i=this,s=mn(t,this.W.options.namespace),u=null===(n=null==s?void 0:s._w)||void 0===n?void 0:n.fetch;(u||t.fetch)&&(this.Ir=Bu(this.W,u?s._w:t,"fetch"),this.Ir&&(this.Ir.before(function(t){i.Cr(t)}),this.Ir.afterSync(function(t){var n=t.result;t.result=r(i,void 0,void 0,function(){return e(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.Rr(n,t.args[0],t.args[1])];case 1:case 2:return i.sent(),[3,3];case 3:return[2,n]}})})})))},t.prototype.Cr=function(t){if(qa&&Ha&&za)try{var n=t.args[0],i=t.args[1];if(Wa&&!Qi(n)&&"url"in n&&n instanceof Request&&za&&n.body instanceof ReadableStream&&$a(n.headers)){var r=Qa(n.clone().body,this.Er);return void this.Tr.set(n,r)}if(i){var e=wc(i.headers);if(i.body&&i.body instanceof ReadableStream&&$a(e)&&za){var s=i.body.tee(),u=s[0],o=s[1];i.body=o,r=Qa(u,this.Er),this.Tr.set(i,r)}}}catch(t){}},t.prototype.Rr=function(t,n,i){return r(this,void 0,ce,function(){var s,u,o,a,c,h;return e(this,function(f){switch(f.label){case 0:return s="GET",u="",c=!1,"string"!=typeof n?[3,1]:(u=n,[3,5]);case 1:return"url"in n?(u=n.url,s=n.method,o=n.body,a=n.headers,c=!!n.signal,this.Tr.has(n)?[4,this.Kr(n)]:[3,3]):[3,4];case 2:o=f.sent(),f.label=3;case 3:return[3,5];case 4:u="".concat(n),f.label=5;case 5:return u?i?(s=i.method||s,a=wc(i.headers),this.Tr.has(i)?[4,this.Kr(i)]:[3,7]):[3,9]:[2];case 6:return o=f.sent(),[3,8];case 7:o=i.body||o,f.label=8;case 8:c=!!i.signal||c,f.label=9;case 9:return h=function(t){return r(this,void 0,ce,function(){var n,i,r,s,u;return e(this,function(e){switch(e.label){case 0:return e.trys.push([0,6,,7]),[4,t];case 1:switch(n=e.sent(),u=n.ok?ut.OK:ut.ERROR,n.type){case"opaque":case"opaqueredirect":u=ut.OPAQUE;break;case"error":u=ut.ERROR}if(!Ga(((i=n.headers).get("content-type")||Ht.TextPlain).split(";")[0]))return[2,Ya(u,n.status,{headers:i,body:null})];r=null,e.label=2;case 2:return e.trys.push([2,4,,5]),[4,n.clone().text()];case 3:return r=e.sent(),[3,5];case 4:return e.sent(),u=ut.ABORTED,[3,5];case 5:return[2,Ya(u,n.status,{headers:i,body:r})];case 6:return s=e.sent(),[2,Ya(u=(o=s)&&"AbortError"===o.name?ut.ABORTED:ut.ERROR,0,{headers:{forEach:function(){}},body:void 0})];case 7:return[2]}var o})})}(t),c&&u.search(/\/(?:graph|graphql|gql)/i)>-1?[4,ce.race([h,fe(5e3)])]:[3,11];case 10:f.sent(),f.label=11;case 11:return this.Ar.startRequest(s,u,{body:function(){return o},headers:a},h),[2]}})})},t.prototype.Kr=function(t){return r(this,void 0,ce,function(){var n;return e(this,function(i){switch(i.label){case 0:return[4,ce.race([this.Tr.get(t),fe(5e3).then(function(){return null})])];case 1:return n=i.sent(),this.Tr["delete"](t),[2,n]}})})},t}();function $a(t){var n=Ht.TextPlain;return null==t||t.forEach(function(t,i){"content-type"===i.toLowerCase()&&(n=t)}),Ga(n)}function Ga(t){switch(t){case"application/json":case"application/vnd.api+json":case Ht.TextPlain:return!0}return!1}function Qa(t,n){return r(this,void 0,ce,function(){var i,r,s,u,o;return e(this,function(e){switch(e.label){case 0:if(!Ha)return[2,""];e.label=1;case 1:return e.trys.push([1,3,,4]),i=new TextDecoder,r=t.getReader(),s=de(r,n).then(function(t){return t.map(function(t){return i.decode(t)}).join("")}),u=fe(2e3).then(function(){return"_fs_timeout"}),[4,ce.race([s,u])];case 2:return"_fs_timeout"===(o=e.sent())?(r.cancel()["catch"](function(t){}),[2,""]):[2,o];case 3:return e.sent(),[2,""];case 4:return[2]}})})}var Xa=function(){function t(t,n){this.W=t,this.Ar=n,this.jr=new WeakMap}return t.prototype.disable=function(){this.Mr&&(this.Mr.disable(),this.Mr=null),this.Pr&&(this.Pr.disable(),this.Pr=null),this.Or&&(this.Or.disable(),this.Or=null)},t.prototype.Nr=function(t){var n=this.jr.get(t);if(n)return n;var i={};return this.jr.set(t,i),i},t.prototype.enable=function(t){var n,i,s,u,o=this,a=mn(t,this.W.options.namespace),c=(null===(n=null==a?void 0:a._w)||void 0===n?void 0:n.XMLHttpRequest)||t.XMLHttpRequest;if(c){var h=c.prototype;this.Mr=null===(i=Bu(this.W,h,"open"))||void 0===i?void 0:i.before(function(t){var n=o.Nr(t.that);n.method=t.args[0],n.url=t.args[1]}),this.Or=null===(s=Bu(this.W,h,"setRequestHeader"))||void 0===s?void 0:s.before(function(t){var n=t.that,i=t.args[0],r=t.args[1],e=o.Nr(n);e.headers||(e.headers=[]),e.headers.push([i,r])}),this.Pr=null===(u=Bu(this.W,h,"send"))||void 0===u?void 0:u.before(function(t){var n=t.that,i=t.args[0],s=o.Nr(n),u=s.url,a=s.method,c=s.headers;void 0!==u&&void 0!==a&&(o.jr["delete"](n),o.Ar.startRequest(a,u,{headers:wc(c),body:i},function(t){return r(this,void 0,ce,function(){var n,i;return e(this,function(r){switch(r.label){case 0:return[4,new ce(function(n){t.addEventListener("load",function(){return n(ut.OK)}),t.addEventListener("abort",function(){return n(ut.ABORTED)}),t.addEventListener("readystatechange",function(){t.readyState===XMLHttpRequest.DONE&&0!==t.status&&(t.status<400?n(ut.OK):n(ut.ERROR))}),t.addEventListener("error",function(){t.readyState===t.UNSENT?n(ut.ABORTED):n(ut.ERROR)})})];case 1:return n=r.sent(),i=function(t){if(t)return{forEach:function(n){for(var i,r=/([^:]*):\s+(.*)(?:\r\n|$)/g;i=r.exec(t);)n(i[2],i[1])}}}(t.getAllResponseHeaders()),[2,Ya(n,t.status,{headers:i,body:function(){return"text"===t.responseType?t.responseText:t.response}})]}})})}(n)))})}},t.prototype.setMaxAjaxPayloadLength=function(t){},t}();function Ya(t,n,i){return{state:t,status:n,data:i}}var Ja,Za,tc,nc,ic,rc=/^data:/i,ec=function(){function t(t,n){this.W=t,this.zt=n,this.yn=!1,this.Lr=new sc(t,n),this.Ur=new Xa(t,this.Lr),this.Fr=new Va(t,this.Lr)}return t.prototype.isEnabled=function(){return this.yn},t.prototype.start=function(t){t.AjaxWatcher&&(this.yn||(this.yn=!0,this.zt.enqueue({Kind:O.REC_FEAT_SUPPORTED,Args:[vt.Ajax,!0]}),this.Ur.enable(this.W.window),this.Fr.enable(this.W.window)))},t.prototype.stop=function(){this.yn&&(this.yn=!1,this.Ur.disable(),this.Fr.disable())},t.prototype.tick=function(){this.Lr.tick()},t.prototype.setWatches=function(t){this.Lr.setWatches(t)},t.prototype.initialize=function(t){this.Lr.initialize(t),this.Fr.setMaxAjaxPayloadLength(t.maxAjaxPayloadLength)},t}(),sc=function(){function t(t,n){this.W=t,this.zt=n,this.Br=[],this.Dr={},this.Hr={},this.Wr=[],this.Er=0;var i=Ht.DefaultOrgSettings;this.initialize({requests:i.HttpRequestHeadersAllowlist,responses:i.HttpResponseHeadersAllowlist,maxAjaxPayloadLength:i.MaxAjaxPayloadLength})}return t.prototype.zr=function(t){for(var n=!1,i=!1,r=[],e=[],s=0,u=this.Br;s-1}function oc(t,n,i){return[t.length,vc(t,n,i)]}function ac(t,n,i){var r=void 0;return uc(n)||(r=Fa(t,i,n)),[fc(t),r]}function cc(t,n){var i=t.byteLength,r=void 0;return uc(n)||(r="[ArrayBuffer]"),[i,r]}function hc(t,n,i){return r(this,void 0,ce,function(){var r,s,u,o,a,c,h;return e(this,function(e){switch(e.label){case 0:if(s=(r=t).size,u=r.type,uc(n))return[2,[s,void 0]];if(o=function(t){Cu.send("ajaxwatcher#_httpBodyBlob",{err:t,blobType:u,blobSize:s},"warning")},!Ga(u))return[3,4];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r.text()["catch"](function(t){o(t)})];case 2:return(a=e.sent())&&(c=vc(a,n,i))?[2,[s,c]]:[3,4];case 3:return h=e.sent(),o(h),[3,4];case 4:return[2,[s,"[Blob]"]]}})})}function fc(t){try{return Si.jsonStringify(t).length}catch(t){}return 0}function vc(t,n,i){if(!uc(n))try{return Fa(Si.jsonParse(t),i,n)}catch(r){return n.length>0&&n.every(function(t){return!0===t})?t.slice(0,i):void 0}}function lc(t,n){switch(t){default:case kt.Elide:return!1;case kt.Record:return!0;case kt.Allowlist:try{return Na(n)}catch(t){return"error parsing field allowlist (".concat(n,": ").concat(t),!1}}}function dc(t,n,i,s){var u;return r(this,void 0,ce,function(){var r,o,a,c,h,f,v;return e(this,function(e){switch(e.label){case 0:return r="",null===(u=s.headers)||void 0===u||u.forEach(function(n,i){var e=i.toLowerCase(),s=t[e];r+="".concat(e).concat(s?": ".concat(n):"").concat("\r\n")}),"function"!=typeof(o=null==s?void 0:s.body)?[3,2]:[4,o()];case 1:return a=e.sent(),[3,3];case 2:a=o,e.label=3;case 3:return[4,pc(n,a,i)];case 4:return c=e.sent(),h=c[0],f=c[1],v=0!==h||f?et.NotEmpty:et.Unknown,[2,{headers:r,text:f,size:h,legibility:v}]}})})}function pc(t,n,i){return void 0===i&&(i=Ht.DefaultOrgSettings.MaxAjaxPayloadLength),r(this,void 0,ce,function(){var r;return e(this,function(e){if(null==n)return[2,[0,void 0]];switch(typeof n){default:return[2,[-1,uc(t)?void 0:"[unknown]"]];case"string":return[2,oc(n,t,i)];case"object":switch(r=n.constructor){case Object:default:return[2,ac(n,t,i)];case Blob:return[2,hc(n,t,i)];case ArrayBuffer:return[2,cc(n,t)];case Document:case FormData:case URLSearchParams:case ReadableStream:return[2,[-1,uc(t)?void 0:"".concat(r.name)]]}}return[2]})})}function wc(t){return t?Di(t)?{forEach:function(n){for(var i=0,r=t;i0&&c.push(a.path);var h=iu(c);e.has(h)?e.get(h).rules[a.key]=a.value:e.set(h,{ruleId:c,rules:(s={},s[a.key]=a.value,s)})}}catch(t){}}),this.pe(i,function(t){e.forEach(function(n){t.enqueue({Kind:O.CSSRULE_UPDATE,Args:[n.ruleId,n.rules]})})})}catch(t){}},t.prototype.snapshotConstructedStylesheet=function(t,n){void 0===n&&(n=!1);var i=Ic(this.ne,t);return n||void 0===i?(void 0===i&&(i=this.Qr++,function(t,n,i){t.set(n,i)}(this.ne,t,i)),this.we([dt.Sheet,i],t),i):i},t.prototype.we=function(t,n){this.zt.enqueue({Kind:O.RESET_CSS_SHEET,Args:[t]});var i=function(t){try{return t?t.cssRules||t.rules:void 0}catch(t){return}}(n);if(i){for(var r=[],e=0;e0?[X.Index,u,s,e]:[X.Index,u,s]}}},t.prototype.stop=function(){this.Xr=!1,this.ie.close();for(var t=0,n=this.kn;t-1){if(n.unshift(s),e instanceof CSSStyleSheet)break;i=e}else Cu.send(r,{index:s},"warning")}return n}var xc="__wayfinder_cursor";function Rc(t){var n,i=null!==(n=t.getAttributeNS(vn,ln))&&void 0!==n?n:"";if(!i.length)return[];var r=function(t){return xc in t?t[xc]:""}(t),e=i.split("\n").filter(function(t){return t>r});return e.length>0&&(t[xc]=e[e.length-1]),e}var Kc=function(){function t(t,n,i){this.W=t,this.me=n,this.vt=i}return t.prototype.start=function(){var t=this,n=this.W.window.document;this.vt.addCustom(n,this.ye(),!0,function(n){t.onFullscreenChange(n)}),this.vt.addCustom(n,this.be(),!0,function(n){t.onFullscreenError(n)})},t.prototype.stop=function(){var t;null===(t=this.vt)||void 0===t||t.clearAll()},t.prototype.onFullscreenChange=function(t){var n=this.Se();if(n){var i=ks(n);this.ke,this.me.enqueue({Kind:O.FULLSCREEN,Args:[i,!0]}),this.ke=i}else this.ke,this.me.enqueue({Kind:O.FULLSCREEN,Args:[this.ke,!1]}),this.ke=void 0},t.prototype.onFullscreenError=function(t){this.me.enqueue({Kind:O.FULLSCREEN_ERROR,Args:[]})},t.prototype.Se=function(){var t=this.W.window.document;return t[_(t,"fullscreenElement")]},t.prototype.ye=function(){return _(this.W.window.document,"onfullscreenchange").slice(2)},t.prototype.be=function(){return _(this.W.window.document,"onfullscreenerror").slice(2)},t}(),jc=Kc,Mc=function(){function t(t,n){this.zt=n,this.Ct=null,this._e={};var i=t.window;"customElements"in i&&null!=i.customElements&&"get"in i.customElements&&"whenDefined"in i.customElements&&(this.Ct=i.customElements)}return t.prototype.start=function(){},t.prototype.stop=function(){},t.prototype.onCustomNodeVisited=function(t){return r(this,void 0,ce,function(){var n;return e(this,function(i){return this.Ct?(n=t.nodeName.toLowerCase(),Object.prototype.hasOwnProperty.call(this._e,n)||this.Ae(n),[2]):[2]})})},t.prototype.Ae=function(t){return r(this,void 0,ce,function(){var n;return e(this,function(i){switch(i.label){case 0:if(!this.Ct)return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),n=!!this.Ct.get(t),this._e[t]=n,[4,this.Ct.whenDefined(t)];case 2:return i.sent(),this.zt.enqueue({Kind:O.CUSTOM_ELEMENT_DEFINED,Args:[t]}),[3,4];case 3:return i.sent(),[3,4];case 4:return[2]}})})},t}(),Pc=function(){function t(t,n){this.W=t,this.Ie=!1,this.kn=[],this.En=n,this.An=t.window,this.Ie=Oc(this.An)}return t.prototype.start=function(){this.En.enqueue({Kind:O.REC_FEAT_SUPPORTED,Args:[vt.HTMLDialogElement,this.Ie]}),this.Ie&&(this.xn("show"),this.xn("showModal"),this.xn("close"))},t.prototype.stop=function(){this.kn.forEach(function(t){return t.disable()}),this.kn=[]},t.prototype.xn=function(t){var n=this,i=Bu(this.W,this.An.HTMLDialogElement.prototype,t);null==i||i.afterSync(function(i){var r=ks(i.that),e="close"!==t,s="showModal"===t;n.En.enqueue({Kind:O.DIALOG,Args:[r,e,s]})}),i&&this.kn.push(i)},t}(),Oc=function(t){return void 0!==t.HTMLDialogElement},Nc=function(t){try{return Si.elMatches(t,"dialog:modal")}catch(t){return!0}},Lc=function(){function t(){}return t.prototype.now=function(){return Date.now()},t}(),Uc=function(){function t(t,n,i,r){void 0===i&&(i=n),void 0===r&&(r=new Lc),this.Ee=t,this.Te=n,this.Ce=r,this.xe=r.now(),this.Re=i}return t.prototype.hasCapacityFor=function(t){var n=this.Ce.now(),i=(n-this.xe)*this.Ee;return this.Re=Math.min(this.Te,this.Re+i),this.xe=n,this.Re>=t?(this.Re-=t,[!0,0]):[!1,(t-this.Re)/this.Ee]},t}(),Fc=new Uc(2,2e5),Bc=new Set(["measureText","getImageData","getError","getTransform","isContextLost","isEnabled","isFramebuffer","isProgram","isRenderbuffer","isShader","isTexture"]),Dc=new Set(["fillText"]),Hc=function(){function t(t,n,i,r){this.W=t,this.zt=n,this.cr=i,this.Zi=r,this.Ke=Yt.CaptureCanvasOps,this.je=[],this.Me=[],this.Pe=new WeakMap,this.Oe=new WeakMap,this.Ne=new Set,this.Le=0,this.Ue=new WeakMap,this.Fe=!1,this.Be=new WeakMap,this.De=new Set,this.He=new WeakMap,this.We=new WeakMap,this.ze=1,this.qe=new WeakMap,this.Ve=1,this.$e=new WeakMap,this.Ge=0,this.Qe=!1}return t.prototype.start=function(t){var n,i=this;if(t.CanvasWatcherMode&&(this.zt.enqueue({Kind:O.REC_FEAT_SUPPORTED,Args:[vt.CanvasWatcherEnabled,!0,vt.CanvasScreenShotMode,t.CanvasWatcherMode===Yt.ScreenshotCanvas]}),this.Fe=!0,this.Ke=null!==(n=t.CanvasWatcherMode)&&void 0!==n?n:Yt.CaptureCanvasOps,this.Ir("2d",CanvasRenderingContext2D),this.Ir("webgl",WebGLRenderingContext),this.Ir("webgl2",WebGL2RenderingContext),this.Ke===Yt.ScreenshotCanvas)){if(!HTMLCanvasElement.prototype.toDataURL)return;this.Le=setInterval(function(){return i.screenshotConnectedCanvases()},1e3)}},t.prototype.Xe=function(t,n){return"object"!=typeof n?[void 0,0]:(this.qe.has(n)||this.qe.set(n,[t,this.Ve++]),this.qe.get(n))},t.prototype.Ir=function(t,n){var i=this;if(n)for(var r=n.prototype,e=function(e){if(Bc.has(e))return"continue";var u=Object.getOwnPropertyDescriptor(r,e);if("function"==typeof(null==u?void 0:u.value)){var o=Bu(s.W,r,e);o&&(o.afterSync(function(n){return i.Ye(t,e,n.that,n.args,n.result)}),s.je.push(o))}else"function"==typeof(null==u?void 0:u.set)&&s.Me.push(ur(n,e,s.Je(t,e)))},s=this,u=0,o=Object.keys(r);u0){var s=n;if(!s){var u=t instanceof HTMLCanvasElement?ys(t):void 0,o=t instanceof HTMLCanvasElement&&cr(t);s=null!==(i=null==u?void 0:u.mask)&&void 0!==i?i:o}this.es(t,r,e,s)}return this.$e["delete"](t),r}},t.prototype.ss=function(t,n,i,r,e,s,u){var o,a;switch(typeof r){case"string":return e?Ge(r):r;case"number":case"boolean":case"bigint":return r;case"undefined":return{undef:!0};case"object":if(!r)return r;try{u.set(r,!0)}catch(t){}var c=null===(o=Object.getPrototypeOf(r))||void 0===o?void 0:o.constructor,h=(null==c?void 0:c.name)||function(t){var n;if(t){var i=t.toString(),r=zc.exec(i);return r||(r=qc.exec(i)),null===(n=null==r?void 0:r[1])||void 0===n?void 0:n.trim()}}(c),f={ctor:h};if(((a=r)instanceof Node||qi(a)&&"nodeType"in a)&&(d=ks(r)))return f.id=d,f;switch(h){case"Array":return this.Ge+=r.length,this.us(t,n,i,r,e,s,u);case"CanvasGradient":return f;case"HTMLImageElement":var v=Ls(r.src,{source:"dom",type:"canvas"});return this.Zi.record(v),f.src=v,f;case"HTMLCanvasElement":var l=r,d=this.flush(l,e);return f.srcId=d,f}if(function(t){var n;return!!(null===(n=Object.prototype.toString.call(t))||void 0===n?void 0:n.match(Wc))}(r))return this.qe.has(r)?this.os(r,f,e):(f.typedArray="[".concat(r.toString(),"]"),this.Ge+=r.length,f);if("object"==typeof r&&this.qe.has(r))return this.os(r,f,e);if(r instanceof WebGLBuffer||r instanceof WebGLTexture){var p=void 0;switch(s){case"bindTexture":p=this.cs(t,"createTexture",n,i,r);break;case"bindBuffer":p=this.cs(t,"createBuffer",n,i,r)}if(void 0!==p)return this.os(r,f,e)}var w=r;for(var g in f.obj={},w){try{switch(typeof w[g]){case"function":continue;case"object":if(w[g]&&u.has(w[g]))continue}}catch(t){continue}++this.Ge,f.obj[g]=this.ss(t,n,i,w[g],e,s,u)}return f;default:return null}},t.prototype.os=function(t,n,i){var r=this.qe.get(t),e=r[0],s=r[1];return this.flush(e,i),n.ref=s,delete n.ctor,n},t.prototype.cs=function(t,n,i,r,e){var s=this.Xe(i,e),u=(s[0],s[1]);return this.hs(r,[[t,Qt.Function,n,[],u]]),u},t.prototype.us=function(t,n,i,r,e,s,u){var o=this;return void 0===u&&(u=new WeakMap),this.Ge+=r.length+1,r.map(function(r){return o.ss(t,n,i,r,e,s,u)})},t.prototype.es=function(t,n,i,r){var e=this;if(void 0===r&&(r=!1),!this.Qe){var s=i.map(function(i){var s=i[0],u=i[1],o=i[2],a=i[3],c=i[4];return[s,u,o,e.us(s,t,n,a,r&&Dc.has(o),o),c]});if(!this.Pe.has(t)&&(this.Pe.set(t,!0),i.some(function(t){return"2d"===t[0]}))){var u=function(t){var n=t.getContext("2d");if(!n)return[];var i=[];if((n instanceof CanvasRenderingContext2D||window.OffscreenCanvasRenderingContext2D&&n instanceof OffscreenCanvasRenderingContext2D)&&"function"==typeof n.getTransform){var r=n.getTransform();if(!r.isIdentity){var e=r.a,s=r.b,u=r.c,o=r.d,a=r.e,c=r.f;i.push(["2d",Qt.Function,"transform",[e,s,u,o,a,c],-1])}}return i}(t);if(u.length>0)return u.push.apply(u,s),void this.hs(n,u)}this.hs(n,s)}},t.prototype.hs=function(t,n){if(!this.Qe){var i=Fc.hasCapacityFor(this.Ge),r=i[0];i[1],this.Ge=0,r?this.zt.enqueue({Kind:O.CANVAS,Args:[t,n]}):this.Qe=!0}},t.prototype.vs=function(t,n){t instanceof HTMLCanvasElement&&(this.Ke===Yt.ScreenshotCanvas?(this.Oe.set(t,!0),this.Ne.add(t)):this.Ze(t,n))},t.prototype.Ye=function(t,n,i,r,e){for(var s=[],u=0;ur&&t.ts(n)})}catch(t){Cu.send("canvaswatcher#tick",{err:t,mode:this.Ke})}},t.prototype.ps=function(t){var n=ks(t);if(n){var i=ys(t),r=this.Be.get(t);r&&0!==r.length&&(this.es(t,n,r,!!(null==i?void 0:i.mask)),this.ts(t))}},t}(),Wc=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,zc=/^\[object ([^\]]+?)(?:Constructor)?\]/,qc=/^function ([^(]+)/,Vc=/^\s*at .*(\S+:\d+|native|())/m,$c=/^(eval@)?(\[native code\])?$/;function Gc(t,n,i,r,e){return[n||"",t(i||""),parseInt(r||"-1",10),parseInt(e||"-1",10)]}function Qc(t){if(!t||-1===t.indexOf(":"))return["","",""];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return n?[n[1]||"",n[2]||"",n[3]||""]:["","",""]}var Xc=["_fs_debug","assert","debug","error","info","log","trace","warn"],Yc=Xc.filter(function(t){return!/debug/.test(t)});function Jc(t,n){return Gs(Qi(t)?t.slice(0,n):eo(t,n))}function Zc(t){if(qi(t)){try{if(Wi(t.toString))return t.toString()}catch(t){}return t.message}}function th(t,n){var i=n?"".concat(n," "):"";return s(["".concat(i).concat(Jc(Zc(t.error)||t.message,1e3)),Jc(t.filename,100),qi(t.lineno)?-1:t.lineno],function(t,n){if(!qi(n)||!Qi(n.stack))return[];var i=n;return i.stack.match(Vc)?function(t,n){return n.split("\n").filter(function(t){return!!t.match(Vc)}).map(function(n){var i=n;i.indexOf("(eval ")>-1&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var r=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/\(native code\)/,"").split(/\s+/).slice(1),e=Qc(r.pop()),s=r.join(" "),u=["eval",""].indexOf(e[0])>-1?"":e[0];return Gc(t,s,u,e[1],e[2])})}(t,i.stack):function(t,n){return n.split("\n").filter(function(t){return!t.match($c)}).map(function(n){var i=n;if(i.indexOf(" > eval")>-1&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===i.indexOf("@")&&-1===i.indexOf(":"))return[i,"",-1,-1];var r=i.split("@"),e=Qc(r.pop()),s=r.join("@");return Gc(t,s,e[0],e[1],e[2])})}(t,i.stack)}(Gs,t.error),!0)}var nh=function(){function t(t,n,i){this.W=t,this.zt=n,this.vt=i,this.yn=!1,this.ws=!1,this.gs=0,this.kn=[],this.ys=Ht.DefaultOrgSettings.MaxConsoleLogPerPage,this.Ki=t.window}return t.prototype.initializeMaxLogsPerPage=function(t){this.ys=t||Ht.DefaultOrgSettings.MaxConsoleLogPerPage},t.prototype.bs=function(){return"\"[received more than ".concat(this.ys," messages]\"")},t.prototype.start=function(t){var n=this;if(t.ConsoleWatcher&&(this.vt.add(this.Ki,"error",!0,function(t){return n.Ss(t)}),this.vt.add(this.Ki,"unhandledrejection",!0,function(t){var i,r="";t.reason instanceof Error?i=t.reason:r=eo(t.reason,1e3),n.Ss({error:i,message:r,filename:"",lineno:0},"Uncaught (in promise)")},!0),!this.yn))if(this.yn=!0,this.zt.enqueue({Kind:O.REC_FEAT_SUPPORTED,Args:[vt.Console,!0]}),this.Ki.console)for(var i=function(t){var i=Bu(r.W,r.Ki.console,t);if(!i)return"continue";"assert"===t?i.before(function(i){var r=i.args;r[0]||n.ks(t,Array.prototype.slice.apply(r,[1]))}):i.before(function(i){var r=i.args;return n.ks(t,r)}),r.kn.push(i)},r=this,e=0,s=Yc;e0)return i[0]}}return t.target}function rh(t){var n=ih(t);return!!ks(n)&&!gs(n)}var eh=function(){function t(t,n,i,r){this.W=t,this.zt=n,this.As=i,this.vt=r}return t.prototype.start=function(t){var n=this;this.vt.add(this.W.window,"click",!0,function(t){rh(t)&&n.Is(t)}),this.vt.add(this.W.window,"dblclick",!0,function(t){rh(t)&&n.Es(t)})},t.prototype.stop=function(t){this.vt.clearAll()},t.prototype.Is=function(t){var n=sh(this.W,t);if(Wi(n)){var i=ys(ih(t));this.As.onClick(i),this.zt.enqueue({Kind:O.RESOLVABLE_EVENT,Args:[O.CLICK,n]})}},t.prototype.Es=function(t){var n=ks(ih(t));n&&this.zt.enqueue({Kind:O.DBL_CLICK,Args:[n]})},t}();function sh(t,n){var i=ih(n),r=ks(i);if(r){var e=[r,n.clientX,n.clientY],u=t.measurer.enqueue(function(){return{done:!0,result:uh(i)}},!0);return function(){return s(s([],e,!0),function(t,n){if(Wi(n)){var i=n();if(i&&i[0])return i[0]}return uh(t)}(i,u),!0)}}}function uh(t){var n=0,i=0,r=0,e=0;if(t&&t.getBoundingClientRect){var s=t.getBoundingClientRect();n=s.left,i=s.top,r=s.width,e=s.height}return[n,i,r,e]}var oh,ah,ch,hh,fh=function(){function t(t,n,i,r){this.W=t,this.zt=n,this.As=i,this.vt=r,this.kn=[],n.registerInterceptor(this)}return t.prototype.start=function(t){var n,i=this;this.vt.add(this.W.window,"click",!0,function(t){rh(t)&&i.Ts(t)});var r=Bu(this.W,null===(n=this.W.window.Event)||void 0===n?void 0:n.prototype,"preventDefault",!0);r&&(this.kn.push(r),r.afterSync(function(t){return i.Cs(t.that)}))},t.prototype.stop=function(t){this.vt.clearAll();for(var n=0,i=this.kn;n0;r.clientX=e?r.changedTouches[0].clientX:0,r.clientY=e?r.changedTouches[0].clientY:0,this.Ks(i,r);break;case"pointerdown":case"pointerup":this.Ks(i,t);break;default:"Unhandled event type: ".concat(i)}},t.prototype.js=function(t,n){var i=sh(this.W,n);if(Wi(i)){var r=ys(ih(n));this.As.onClick(r),this.zt.enqueue({Kind:O.RESOLVABLE_EVENT,Args:[O.EVENT_CANCELED,function(){return[t,i()]}]})}},t.prototype.Ks=function(t,n){var i=this;this.Rs||(this.Rs={target:ih(n),timer:new oo(function(){i.Rs=void 0,i.js(t,n)}).start(Ht.SyntheticClickTimeout)})},t.prototype.xs=function(){this.Rs&&(this.Rs.timer.stop(),this.Rs=void 0)},t}();(ah=oh||(oh={}))[ah.Ajax=0]="Ajax",ah[ah.Animation=1]="Animation",ah[ah.Canvas=2]="Canvas",ah[ah.Console=3]="Console",ah[ah.CustomElement=4]="CustomElement",ah[ah.Dialog=5]="Dialog",ah[ah.Fullscreen=6]="Fullscreen",ah[ah.Input=7]="Input",ah[ah.Perf=8]="Perf",ah[ah.StyleSheet=9]="StyleSheet",(hh=ch||(ch={}))[hh.Scroll=1]="Scroll",hh[hh.Resize=2]="Resize";var vh=/^\s*((stylesheet)\s*)+$/i,lh=/^\s*((img|picture)\s*)+$/i,dh=function(){function t(t,n,i,r,e,s,u,o,a){var c=this;this.W=t,this.zt=n,this.As=i,this.vt=e,this.Ms=s,this.Ps=u,this.cr=o,this.Zi=a,this.Os=[],this.Ns={},this.Ls=!1,this.kn=[],this.Us=!1,this.Fs={},this.Bs=!1,this.Ds=new Ou,this.Ki=t.window,this.t=this.Ki.document,this.Hs=this.Ki.location,this.Ws=this.Ki.history,this.zs=this.Hs.href,this.qs=[new ec(t,n),new wo(t,n,this.vt.createChild()),new Hc(t,n,o,this.Zi),new nh(t,this.zt,this.vt.createChild()),new Mc(t,n),new Pc(t,n),new jc(t,n,this.vt.createChild()),new ho(t,n),new Pa(t,n,this.vt.createChild(),this.Zi),new bc(t,n,!!this.W.options.isWayfinder),new eh(t,n,i,this.vt.createChild()),new fh(t,n,i,this.vt.createChild())],this.Vs=function(t,n){void 0===n&&(n=.25);var i=t.window.IntersectionObserver;if(i)return new i(function(n){for(var i,r=0,e=n;r0){var s=wr()-r;e.push({Kind:O.TIMING,Args:[[F.Internal,D.Serialization,W.ProcessMut,n,s]],When:n})}for(var u=0,o=t.qs;u-1&&this.qs[oh.CustomElement].onCustomNodeVisited(i)}"scrollLeft"in i&&"scrollTop"in i&&this.W.measurer.enqueue(function(){var t=i;0==t.scrollLeft&&0==t.scrollTop||r.ou(t)})}},t.prototype.mu=function(t,n,i,r){var e=this,s=this.W.recording.flags().DisableImgUrlPrivacy;if(!s||this.Ls){var u=n.tag;if(n.type===Ri&&r&&!function(t,n){return void 0===n&&(n=ys(t)),gs(t,n)||ms(t,n)}(i)){var o="unknown";"link"===u&&vh.test(r.rel)?o="css":lh.test(null!=u?u:"")&&(o="img");var a=function(t,n,i){for(var r,e,s=[],u=0,o=gh;u-1&&s.push(i.href),("img"===t||"source"===t)&&(e=i.srcset)&&null==e.match(/^\s*$/))for(var c=0,h=function(t,n){void 0===n&&(n=!0);var i="".concat(t.replace(/\s+/g," "),",").match(n?ls:vs);if(!i)return[];for(var r=[],e=0,s=i;e0&&this.W.taskQueue.enqueue(function(){return e.yu(a,!1,o)})}else this.W.taskQueue.enqueue(function(){return e.yu(a,!0,o)})}}},t.prototype.Vn=function(t){var n,i=t.id,r=Ss(i),e=t.name;if(r){switch(e){case"#document":case"#document-fragment":delete this.Fs[i];var s=this.Ds.get(r);s&&(this.vt.clearChild(s),this.Ds["delete"](r));break;case"IFRAME":this.Ps(r);break;case"LINK":case"STYLE":case"style":var u=r.sheet;u&&this.qs[oh.StyleSheet].removeHook(u);break;case"INPUT":case"TEXTAREA":case"SELECT":var o=r;this.qs[oh.Input].removeInput(o)}if("function"==typeof r.getElementsByTagName)for(var a=null!==(n=r.getElementsByTagName("iframe"))&&void 0!==n?n:[],c=0;c0&&this.Tu[this.Tu.length-1].When===t.When&&this.Tu.pop(),0===this.Tu.length?(this.me.push(t),this.Cu=t.When):t.When>this.Cu&&(this.Cu=t.When),this.Tu.push(t)},t.prototype.finish=function(t,n){void 0===n&&(n=[]);var i=this.Tu.length;if(i<=1)return!1;for(var r=[],e=this.Tu[0].When,u=this.Tu[i-1].When,o=u-e!=0?u-e:1,a=0;a-1&&(s.push(a.Selector),s.push("".concat(a.Selector," *")))}var c=s.join(", ");zo(c)?this.Pu=[c]:this.Pu=s}return t.prototype.Ou=function(t){var n=this.Mu.get(t);if(void 0!==n)return n;for(var i=0,r=this.Pu;i=this.Ku){var a=this.W.recording.getCurrentSessionURL;!function(t,n){var i,r="fullstory/rageclick";try{i=new CustomEvent(r,{detail:n,bubbles:!0,cancelable:!0})}catch(t){(i=document.createEvent("customevent")).initCustomEvent(r,!0,!0,n)}Si.setWindowTimeout(window,Cu.wrap(function(){t.dispatchEvent(i)},"dispatchRageClickEvent"),0)}(r,{eventStartTimeStamp:this.Ru.first(),eventEndTimeStamp:i,eventReplayUrlAtStart:a(),eventReplayUrlAtCurrentTime:a(!0)}),this.Ku=bh.defaultRageThreshold,this.Ru=new To}}}}}},t}(),Th="HibernationTimerExceeded",Ch=2*Ht.PageInactivityTimeout,xh=function(){function t(t){this.W=t,this.Nu=this.W.time.wallTime(),this.Lu=!1}return t.prototype.getLastUserActivityTS=function(){return this.Nu},t.prototype.getMsSinceLastUserActivity=function(){return Si.mathFloor(this.W.time.wallTime()-this.Nu)},t.prototype.resetUserActivity=function(){this.Nu=this.W.time.wallTime()},t.prototype.isHibernating=function(){return this.Lu},t.prototype.setHibernating=function(){this.Lu=!0},t}(),Rh=function(){function t(t,n,i,r){void 0===r&&(r=oo),this.W=t,this.Uu=n,this.zt=i,this.Fu=!1,this.Bu=!1,this.Du=!1,this.Hu=!1,this.Wu={},this.zu=new r(this.qu.bind(this),Ht.HeartbeatInterval),this.Vu=new r(this.$u.bind(this),Ht.PageInactivityTimeout)}return t.prototype.getUserActivityModel=function(){return this.Uu},t.prototype.manualHibernateCheck=function(){this.Uu.isHibernating()||this.Uu.getMsSinceLastUserActivity()>=Ht.PageInactivityTimeout+5e3&&this.$u()},t.prototype.intercept=function(t){var n=function(t){switch(t){case O.MOUSEDOWN:case O.MOUSEMOVE:case O.MOUSEMOVE_CURVE:case O.MOUSEUP:case O.TOUCHSTART:case O.TOUCHEND:case O.TOUCHMOVE:case O.TOUCHMOVE_CURVE:case O.TOUCHCANCEL:case O.CLICK:case O.SCROLL_LAYOUT:case O.SCROLL_LAYOUT_CURVE:case O.SCROLL_VISUAL_OFFSET:case O.SCROLL_VISUAL_OFFSET_CURVE:case O.NAVIGATE:return!0}return!1}(t.Kind===O.RESOLVABLE_EVENT?t.Args[0]:t.Kind);this.Gu(t),!this.Fu&&n&&(this.Uu.isHibernating()?this.Qu():this.Xu())},t.prototype.shutdown=function(){this.zu.stop(),this.Vu.stop()},t.prototype.Xu=function(t){var n=this;void 0===t&&(t=!0),this.Du||(this.Uu.resetUserActivity(),this.zu.start(),this.Vu.start(),t&&(this.Du=!0,Se().then(function(){n.Du=!1})))},t.prototype.start=function(){var t=this.W.recording.heartbeatInterval();this.Yu(t),this.Xu(!1)},t.prototype.Ju=function(){return this.Uu.isHibernating()||this.Fu},t.prototype.Yu=function(t){var n=this.zu.isRunning();this.zu.start(t),n||this.zu.stop()},t.prototype.qu=function(){var t=this.Uu.getMsSinceLastUserActivity();t<=Ht.PageInactivityTimeout&&this.zt.enqueue({Kind:O.HEARTBEAT,Args:[t]}),this.zu.start()},t.prototype.$u=function(){if(!this.Uu.isHibernating()){var t=!1;this.Uu.getMsSinceLastUserActivity()<=Ch?this.zt.enqueue({Kind:O.UNLOAD,Args:[it.Hibernation]}):t=!0;try{this.Fu=!0,this.Uu.setHibernating(),this.shutdown(),this.zt.onHibernate(t)}finally{this.Fu=!1}}},t.prototype.Qu=function(){this.Bu||(this.Bu=!0,this.W.recording.splitPage(it.Hibernation))},t.prototype.Gu=function(t){this.manualHibernateCheck();var n=hr(t.PIds,t.FId),i=function(t){var n=t.When;return"number"==typeof n?n:0}(t),r=this.Wu[n]||0,e=this.Ju(),s=this.Zu(i,r);s&&(this.Hu=!0),!e&&s&&this.$u(),this.Hu?function(t,n){var i=t;t.Kind===O.RESOLVABLE_EVENT&&(i=va([t])[0]);var r=eu(i,Th,Th);t.When=n,t.Kind=r.Kind,t.Args=r.Args}(t,r):this.Wu[n]=i},t.prototype.Zu=function(t,n){if(t-n<=Ch)return!1;for(var i in this.Wu){var r=this.Wu[i];if(Si.mathAbs(t-r)<=Ch)return!1}return!0},t}(),Kh=function(){function t(){}return t.prototype.encode=function(t){return t},t}(),jh=function(){function t(){this.dict={idx:-1,map:{}},this.nodeCount=1,this.startIdx=0}return t.prototype.encode=function(n){if(0==n.length)return[];var i,r,e=n[0],s=Object.prototype.hasOwnProperty.call(this.dict.map,e)?this.dict.map[e]:void 0,u=[],o=1;function a(){s?o>1?u.push([s.idx,o]):u.push(s.idx):u.push(e)}for(i=1;ithis.no},t.prototype.reset=function(){this.io=0},t}(),Ph=((_h={})[O.AJAX_REQUEST]=!0,_h[O.PERF_ENTRY]=!0,_h[O.RESOURCE_TIMING_BUFFER_FULL]=!0,_h),Oh=function(){function t(t,n){void 0===n&&(n=Mh.newBudget(t.options.networkBudget)),this.W=t,this.ro=n,this.zt=new To,this.eo=1,this.so={},this.uo=!1,this.oo=[],this.ao=!0,this.init()}return t.prototype.init=function(){if(1===this.eo){var t,n=!!this.W.recording.flags().UseCompression&&"CompressionStream"in(t=this.W.window)&&"TextEncoderStream"in t;this.ao=!!this.W.recording.flags().UseLZEncoding||!n}},t.prototype.size=function(){return this.zt.size()},t.prototype.add=function(t){var n=!0;switch(t.Kind){case O.SET_FRAME_BASE:case O.MUT_INSERT:case O.MUT_SHADOW:case O.RESOLVABLE_EVENT:n=!1}Ph[t.Kind]||(this.uo=!0),this.zt.push([t,n?su(t):void 0])},t.prototype.nextBundle=function(n){if(0!==this.zt.size())return n.flush||t.forceFlush||this.uo?this.co(n):void 0},t.prototype.addEndMarkerEvent=function(t){this.oo.push(t)},t.prototype.persistEndMarkerEventsTo=function(t){for(var n=0,i=this.oo;n0,"builder#_serializeEvents"),this.ro.reset();var n,i,r=this.zt.first()[0],e=Uh(r),s=this.fo(t),u=s[0],o=s[1];if(this.vo=(n=o,i=this.vo,n?i?Uh(n)>=Uh(i)?n:i:n:i),!this.lo(t))return this["do"](u,this.vo),this.vo=void 0,[e,Nh(u)];this.zt.unshift([r,Nh(u)])},t.prototype.fo=function(t){for(var n,r=[],e=[],u=this.zt.shift();u;u=this.zt.shift()){var o=u[0],a=u[1];if(n=o,void 0===a){var c=va([o])[0];if(this.ao){var h=this.po(c),f=h[0],v=h[1];a=su(f),e.push.apply(e,v)}else{var l=wr();a=su(c),e.push(wr()-l)}}if(r.push(a),this.ro.add(a.length),!t.flush&&this.ro.isOver())break}return n&&function(t,n,r){n.length<=0||t.push(function(t,n){var r=n[0],e=n.slice(1);return su(i(i({},Fh(t)),{Kind:O.TIMING,Args:[s([F.Internal,D.Serialization,W.LzEncoding,Uh(t),r],e.map(function(t){return[W.LzEncoding,t]}),!0)]}))}(r,n))}(r,e,n),[r,n]},t.prototype.lo=function(t){return!(!this.W.recording.flags().UseMinNetworkBudget||t.bypassMinBudget||t.flush||this.ro.isOver())},t.prototype["do"]=function(t,n){Ku(!!n,"builder#_finalizeQueue"),n&&function(t,n,r){Ku(n.length>0,"builder#addMarkers");for(var e=0,s=n;e=this._o&&this.stopPipeline(),this.So=r.BundleTime,[3,3];case 2:return Er(e.sent())?[3,3]:[2,Ah.Retry];case 3:return[2,Ah.NoRetry]}})})},this.yo,function(t){return i.No=t},this.Eo)];case 2:return s.sent(),[3,5];case 3:return s.sent(),this.stopPipeline(),[3,5];case 4:return this.bo=!1,this.To.size()>0&&this.Co(),[7];case 5:return[2]}})})},t}(),zh=function(){function t(t,n,i,r,e,s,u){void 0===r&&(r=function(){return[]}),void 0===e&&(e=uo),void 0===s&&(s=oo);var o=this;this.W=t,this.Lo=n,this.Uo=r,this.Fo=e,this.Bo=u,this.Do=0,this.Ho=[],this.Wo=!1,this.zo=!1,this.qo=0,this.Vo=-1,this.$o=!1,this.En=[],this.Go=[],this.Qo=new qh,this.Xo=new s(function(){window,o.processEvents(!0),window},Ht.CurveSamplingInterval),this.Yo=new this.Fo(Ht.MutationProcessingInterval),i&&(this.Jo=new Rh(this.W,i,this,s),this.Go.push(this.Jo)),this.Go.push(this.Qo),u&&this.Go.push(u)}return t.prototype.startPipeline=function(t){var n,i,s;return r(this,void 0,ce,function(){var r=this;return e(this,function(e){switch(e.label){case 0:return this.zo||this.Wo?[2]:(this.Wo=!0,t.frameId&&(this.Do=t.frameId),t.parentIds&&(this.Ho=t.parentIds),t.fixWhenValues&&0===(null!==(n=t.frameId)&&void 0!==n?n:0)&&this.Qo.startPipeline(),null===(i=this.Bo)||void 0===i||i.startPipeline(t),[4,be()]);case 1:return e.sent(),this.processEvents(),[4,be()];case 2:return e.sent(),window,this.Yo.start(function(){window,r.processEvents(),window}),null===(s=this.Jo)||void 0===s||s.start(),this.Lo.startPipeline(t),window,[2]}})})},t.prototype.enableEasyBake=function(){this.Zo=new Eh(this.W)},t.prototype.enqueueSimultaneousEventsIn=function(t){if(0===this.qo){var n=this.W.time.now();this.Vo=n>this.Vo?n:this.Vo}try{return this.qo++,t(this.Vo)}finally{this.qo--,this.qo<0&&(this.qo=0)}},t.prototype.enqueue=function(t){var n=this.qo>0?this.Vo:this.W.time.now();this.ta(n,t),so.checkForBrokenSchedulers()},t.prototype.ta=function(t,n){var i;if(!this.zo){var r=t;r0){var n=t;n.When=this.En[0].When,this.En.unshift(n)}else this.enqueue(t)},t.prototype.addUnload=function(t){this.$o||(this.$o=!0,this.enqueue({Kind:O.UNLOAD,Args:[t]}),this.singSwanSong(t))},t.prototype.shutdown=function(t){this.addUnload(t),this.na(),this.zo=!0,this.ia()},t.prototype.na=function(){var t,n;this.processEvents(),null===(n=(t=this.Lo).send)||void 0===n||n.call(t)},t.prototype.singSwanSong=function(t){var n,i;this.zo||(window,this.na(),t===it.Hidden&&this.$o||null===(i=(n=this.Lo).send)||void 0===i||i.call(n,{mode:"sing",reason:t}),window)},t.prototype.rebaseIframe=function(t,n){for(var i=Math.max(0,n),r=this.W.time.startTime(),e=function(n){var e=r+n-t;return e>=i?e:i},s=0,u=this.En;s0){var f=h[h.length-1].Args[2];f&&(h[0].Args[9]=f)}}for(var v in s)s[l=parseInt(v,10)].finish(O.SCROLL_LAYOUT_CURVE,[l]);for(var v in u)u[l=parseInt(v,10)].finish(O.SCROLL_VISUAL_OFFSET_CURVE,[l]);for(var v in e){var l;e[l=parseInt(v,10)].finish(O.TOUCHMOVE_CURVE,[l])}return n&&n.finish(O.RESIZE_VISUAL_CURVE),i}(n);t||(i=i.concat(this.Uo())),this.ra(i),this.sendEvents(this.W.recording.pageSignature(),i)}},t.prototype.registerInterceptor=function(t){this.Go.push(t)},t.prototype.sendEvents=function(t,n){if(0!=n.length){if(this.Go.length>0)for(var i=0,r=n;i0,r=0;rr?this.ea[i]=t.When:t.When>>0).toString(16)).slice(-8);return t},t}();function $h(t){var n=new Vh(1);return n.writeAscii(t),n.sumAsHex()}function Gh(t){var n=new Uint8Array(t);return Xh(String.fromCharCode.apply(null,n))}var Qh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Xh(t){var n;return(null!==(n=window.btoa)&&void 0!==n?n:Yh)(t).replace(/\+/g,"-").replace(/\//g,"_")}function Yh(t){for(var n=String(t),i=[],r=0,e=0,s=0,u=Qh;n.charAt(0|s)||(u="=",s%1);i.push(u.charAt(63&r>>8-s%1*8))){if((e=n.charCodeAt(s+=3/4))>255)throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|e}return i.join("")}var Jh=1e4,Zh=25,tf=100;function nf(t,n,i,s){return void 0===s&&(s=new Vh),r(this,void 0,ce,function(){var r,u,o,a;return e(this,function(e){switch(e.label){case 0:r=t.now(),u=i.byteLength,o=0,e.label=1;case 1:return oZh?[4,n(tf)]:[3,3]:[3,5];case 2:e.sent(),r=t.now(),e.label=3;case 3:a=new Uint8Array(i,o,Math.min(u-o,Jh)),s.write(a),e.label=4;case 4:return o+=Jh,[3,1];case 5:return[2,{hash:s.sum(),hasher:s}]}})})}function rf(t,n,i){var s,u;return r(this,void 0,ce,function(){return e(this,function(r){switch(r.label){case 0:return(null===(u=null===(s=t.crypto)||void 0===s?void 0:s.subtle)||void 0===u?void 0:u.digest)?[4,t.crypto.subtle.digest({name:"sha-1"},i)]:[3,2];case 1:return[2,{hash:Gh(r.sent()),algorithm:"sha1"}];case 2:return[4,nf(n,ef,i)];case 3:return[2,{hash:r.sent().hash,algorithm:"fsnv"}]}})})}function ef(t){return new ce(function(n){return setTimeout(function(){try{n()}catch(t){}},t)})}function sf(t){var n,i;return!!(null===(i=null===(n=t.Capacitor)||void 0===n?void 0:n.isNativePlatform)||void 0===i?void 0:i.call(n))}var uf=6e6,of=/^\/?_capacitor_file_/,af=function(){function t(t,n,i,r,e){void 0===r&&(r=window.FormData),void 0===e&&(e=oo),this.W=t,this.zt=n,this.mo=i,this.sa=r,this.ua=e,this.Fe={},this.oa={},this.aa=!1,this.ca=[]}return t.prototype.init=function(){this.sa&&this.ha()["catch"](function(t){Cu.send("resourceuploader#init",{err:t})})},t.prototype.ha=function(){return r(this,void 0,ce,function(){var t,n,i,r,s,u,o,a,c,h,f,v,l,d,p,w,g,m,y,b,S,k,_,A,I,E;return e(this,function(e){switch(e.label){case 0:t=this.W.options.orgId,e.label=1;case 1:return[4,this.fa()];case 2:for(n=e.sent(),i={fsnv:{},sha1:{}},r={},s=0,u=n;suf)return Mu("Size of blob resource exceeds limit",{url:Ls(t,{source:"log",type:"fsbugs"}),max:uf,blobSize:r}),void i(null);le(n).then(function(t){i(t?{buffer:t,blob:n,contentType:n.type}:null)})},e.send(),r)}var hf=/^data:([^;,]*)(;?charset=[^;]+)?(?:;base64)?$/i,ff=function(){function t(t,n,i){void 0===i&&(i=new vf),this.W=t,this.me=n,this.pa=i}return t.prototype.initialize=function(t){var n;if(t){this.wa(t);var i=null===(n=this.W.window.location)||void 0===n?void 0:n.href;this.onNavigate(i)}},t.prototype.onNavigate=function(t){return!!this.pa.matches(t)&&(this.me.enqueue({Kind:O.KEEP_URL,Args:[Ls(t,{source:"page",type:"base"})]}),!0)},t.prototype.onClick=function(t){var n;return!!(null===(n=null==t?void 0:t.watchKind)||void 0===n?void 0:n.has(Qe.Keep))&&(this.me.enqueue({Kind:O.KEEP_ELEMENT,Args:[t.id]}),!0)},t.prototype.urlMatches=function(t){return this.pa.matches(t)},t.prototype.wa=function(t){this.pa.setRules(t)},t}(),vf=function(){function t(){this.ga=null}return t.prototype.setRules=function(t){var n=t.map(function(t){return t.Regex}).filter(lf);n.length>0&&(this.ga=function(t){try{return new RegExp("(".concat(t.join(")|("),")"),"i")}catch(n){return Cu.send("keep#joinRegexes",{exprs:t,err:n}),null}}(n))},t.prototype.matches=function(t){return!!this.ga&&this.ga.test(t)},t}();function lf(t){try{return new RegExp(t),!0}catch(n){return Cu.send("keep#isValidRegex",{expr:t,err:n}),!1}}function df(t,n,i){if(t&&"function"==typeof t[n]){i.get(t)||i.set(t,{});var r=t[n];t[n]=function(){var e=i.get(t);return e&&"function"==typeof e[n]&&e[n].apply(this,arguments),r.apply(this,arguments)}}}Zt.RequestFrameId,Zt.EvtBundle;var pf=function(t){var n=void 0===t?{}:t,i=n.wnd,r=void 0===i?window:i,e=n.injectedNamespace,s=void 0===e?r._fs_namespace:e;void 0===n.injectedScript&&r._fs_script,function(t,n,i,r,e,s,u,o){var a,c;function h(t){var n,i=[];function r(){n&&(i.forEach(function(t){var i;try{i=t[n[0]]&&t[n[0]](n[1])}catch(n){return void(t[3]&&t[3](n))}i&&i.then?i.then(t[2],t[3]):t[2]&&t[2](i)}),i.length=0)}function e(t){return function(i){n||(n=[t,i],r())}}return t(e(0),e(1)),{then:function(t,n){return h(function(e,s){i.push([t,n,e,s]),r()})}}}i in t&&(t.console&&t.console.log&&t.console.log("FullStory namespace conflict. Please set window[\"_fs_namespace\"]."),1)||(u=t[i]=function(){var t=function(t,i,r,e){function s(s,u){n(t,i,r,s,u,e)}e=e||2;var u,o=/Async$/;return o.test(t)?(t=t.replace(o,""),"function"==typeof Promise?new Promise(s):h(s)):n(t,i,r,u,u,e)};function n(n,i,r,e,s,u){return t._api?t._api(n,i,r,e,s,u):(t.q&&t.q.push([n,i,r,e,s,u]),null)}return t.q=[],t}(),function(){function t(){}function n(t,n,i){u(t,n,i,1)}function i(t,i,r){n("setProperties",{type:t,properties:i},r)}function r(t,n){i("user",t,n)}function e(t,n,i){r({uid:t},i),n&&r(n,i)}u.identify=e,u.setUserVars=r,u.identifyAccount=t,u.clearUserCookie=t,u.setVars=i,u.event=function(t,i,r){n("trackEvent",{name:t,properties:i},r)},u.anonymize=function(){e(!1)},u.shutdown=function(){n("shutdown")},u.restart=function(){n("restart")},u.log=function(t,i){n("log",{level:t,msg:i})},u.consent=function(t){n("setIdentity",{consent:!arguments.length||t})}}(),a="fetch",c="XMLHttpRequest",u._w={},u._w[c]=t[c],u._w[a]=t[a],t[a]&&(t[a]=function(){return u._w[a].apply(this,arguments)}),u._v="2.0.0")}(r,r.document,s)};"".concat(df,"\n(").concat(function(t,n){var i=t._fs_prehooks||new WeakMap;t._fs_prehooks=i,n.forEach(function(t){var n=t[0];t[1].forEach(function(t){df(n,t,i)})})},")(win, [[\n CSSStyleSheet.prototype,\n ['insertRule', 'removeRule']\n]]);");var wf=/[^a-zA-Z0-9.\-_]/g;function gf(t,n){return"".concat(t,"_").concat(n)}function mf(t,n,i,r){var e=function(t,n){return n?function(t,n){var i=n.replace(wf,"");return 0===i.length?t:gf(t,i)}(t,i):t};return[e(t,r),e(n,r),e(t,!r),e(n,!r)]}function yf(t,n,i,r,e,s){var u=n.getValue(i,r),o=u.cookieValue,a=u.localStorageValue;if(!t&&!o&&!a){var c=n.getValue(e,s);o=c.cookieValue,a=c.localStorageValue}return[o,a]}function bf(t){return t.options.useNamespace?gf(rn,t.options.namespace):rn}function Sf(t,n,i){if(n&&n.postMessage)try{n.postMessage(function(t,n){var i;return iu(((i={})[bf(t)]=n,i))}(t,i),"*")}catch(t){Mu("postMessageTo",{err:t})}}function kf(t,n){try{var i=sr(n),r=bf(t);if(r in i)return i[r]}catch(t){}return[Zt.Unknown]}function _f(t,n,i,r){var e=t.options.transport;if(!e)return!1;try{e.send(n,i,r)}catch(t){e.send(n,i)}return!0}function Af(t,n,i){var r=t.options.transport;if(!r||!r.sendToChild)return!1;var e=i[0],s=iu(i.slice(1));return r.sendToChild(n,e,s),!0}var If=new RegExp(/^\s+$/),Ef=/^fb\d{18}$/,Tf=function(t){var n=t.appHost,i=t.desc,r=t.frame,e=t.namespace,s=t.orgId,u=t.recHost,o=t.recSettingsHost,a=t.scheme,c=t.script,h=t.snippetVersion,f=t.underTest,v=t.useNamespace;"Injecting into Frame ".concat(i);try{if(function(t){return t.id==t.name&&Ef.test(t.id)}(r))return"Blocklisted iframe: ".concat(i),q.BlocklistedFrame;if(function(t){return!(t.contentDocument&&t.contentWindow&&t.contentWindow.location)||function(t){return!!t.src&&"about:blank"!=t.src&&t.src.indexOf("javascript:")<0}(t)&&t.src!=t.contentWindow.location.href&&"loading"==t.contentDocument.readyState}(r))return"Frame not yet loaded: ".concat(i),q.PartiallyLoaded;var l=r.contentWindow,d=r.contentDocument;if(!l||!d)return"Missing contentWindow or contentDocument: ".concat(i),q.MissingWindowOrDocument;if(!d.head)return"Missing contentDocument.head: ".concat(i),q.MissingDocumentHead;if(!d.body||!Bi(d.body))return q.MissingBodyOrChildren;for(var p=!1,w=Fi(d.body);w;w=Ni(w)){switch(w.nodeType){case Ri:if("SCRIPT"===w.tagName)continue;break;case 3:var g=w.textContent;if(null===g||If.test(g))continue;break;case 8:continue}p=!0;break}if(!p)return q.NoNonScriptElement;if(mn(l,e))return"FS already defined in Frame contentWindow: ".concat(i," Ignoring."),q.AlreadyDefined;var m=l;f&&(m._fs_org=s);var y=function(t,n){return{send:function(i,r,e){if(void 0!==t.parent){var s=mn(t.parent,n);void 0!==s&&"function"==typeof s._withRecorder&&s._withRecorder(e,function(n){try{n.onMessageReceived(t,[i,Si.jsonParse(r),e])}catch(t){t instanceof SyntaxError&&Cu.send("rec#onMessageReceived",{err:t,msg:i,signature:e})}})}}}}(m,e);return function(t,n,i){/^2\./.test(i.snippetVersion)?pf({wnd:t,injectedNamespace:i.namespace,injectedScript:i.script}):function(t){var n,i,r,e,s,u=void 0===t?{}:t,o=u.wnd,a=void 0===o?window:o,c=u.injectedNamespace,h=void 0===c?a._fs_namespace:c;n=a,a.document,r="user",(i=h)in n?n.console&&n.console.log&&n.console.log("FullStory namespace conflict. Please set window[\"_fs_namespace\"]."):((e=n[i]=function(t,n,i){e.q?e.q.push([t,n,i]):e._api(t,n,i)}).q=[],e.identify=function(t,n,i){e(r,{uid:t},i),n&&e(r,n,i)},e.setUserVars=function(t,n){e(r,t,n)},e.event=function(t,n,i){e("event",{n:t,p:n},i)},e.anonymize=function(){e.identify(!1)},e.shutdown=function(){e("rec",!1)},e.restart=function(){e("rec",!0)},e.log=function(t,n){e("log",[t,n])},e.consent=function(t){e("consent",!arguments.length||t)},e.identifyAccount=function(t,n){(n=n||{}).acctId=t,e("account",n)},e.clearUserCookie=function(){},e.setVars=function(t,n){e("setVars",[t,n])},e._w={},s="XMLHttpRequest",e._w[s]=n[s],s="fetch",e._w[s]=n[s],n[s]&&(n[s]=function(){return e._w[s].apply(this,arguments)}),e._v="1.3.0")}({wnd:t,injectedNamespace:i.namespace});var r,e,s=(r=t,void 0===(e=i.namespace)&&(e=gn(r)),r[e]);Ku(!!s,"snippet api"),null==s||s("init",{env:{appHost:i.appHost,orgId:i.orgId,recHost:i.recHost,recSettingsHost:i.recSettingsHost,runInIframe:i.runInIframe,scheme:i.scheme,script:i.script,transport:i.transport,useNamespace:i.useNamespace}});var u=n.createElement("script");u.setAttribute(en,i.namespace),u.async=!0,u.crossOrigin="anonymous",u.src="".concat(i.scheme,"//").concat(i.script),"testdrive"===i.orgId&&(u.src+="?allowMoo=true"),n.head.appendChild(u)}(m,d,{appHost:n,namespace:e,orgId:s,recHost:u,recSettingsHost:o,runInIframe:!0,scheme:a,script:c,snippetVersion:h,transport:y,useNamespace:v}),q.Successful}catch(t){return q.Exception}};function Cf(t){var n="".concat(ks(t));t.id&&(n+="#".concat(t.id));var i=Ls(t.src,{source:"log",type:"debug"});return n+"[src=".concat(i,"]")}var xf,Rf,Kf=function(){function t(t,n){var i;this.Ki=t,this.zt=[],this.ma=!1,this.Pt=null!==(i=n.interval)&&void 0!==i?i:1e3,this.ya=n.onFlush}return t.prototype.append=function(t){this.schedule(),this.zt.push(t)},t.prototype.flush=function(){this.ma=!1,this.ya(this.zt),this.zt=[]},t.prototype.schedule=function(){this.ma||(Si.setWindowTimeout(this.Ki,Ci(this.flush.bind(this)),this.Pt),this.ma=!0)},t}(),jf="https://fs-obfuscated.invalid",Mf=function(){function t(t,n){this.Ki=t,this.zt=n,this.ba=0,this.Sa={},this.yn=!1}return t.prototype.enable=function(){var t=this;this.yn=!0,this.ka=function(t){var n;try{if("function"==typeof(null===(n=t.crypto)||void 0===n?void 0:n.getRandomValues)){var i="",r=new Uint32Array(2);t.crypto.getRandomValues(r);for(var e=0;e2e6?[4,be()]:[3,7];case 6:e.sent(),e.label=7;case 7:return[3,9];case 8:return e.sent(),[3,9];case 9:return[2,[r,{BundleTime:i}]]}})})},t.prototype.bundleBeacon=function(t){return!0},t.prototype.startBeacon=function(t){return r(this,void 0,ce,function(){return e(this,function(t){return[2,ce.resolve()]})})},t}(),Of=function(){function t(){}return t.prototype.uploadResource=function(t){return r(this,void 0,ce,function(){return e(this,function(t){switch(t.label){case 0:return[4,be()];case 1:return t.sent(),[2,iu({Algorithm:"fsnv",Hash:""})]}})})},t.prototype.queryResources=function(t){return r(this,void 0,ce,function(){return e(this,function(t){switch(t.label){case 0:return[4,be()];case 1:return t.sent(),[2,[]]}})})},t}(),Nf=function(){function t(){this._cookies={}}return t.prototype.setDomain=function(t){},t.prototype.getValue=function(t,n){return{cookieValue:this._cookies[t],localStorageValue:void 0}},t.prototype.setValue=function(t,n,i,r){this.setCookie(t,n,i)},t.prototype.setCookie=function(t,n,i){this._cookies[t]=n},t.prototype.clearCookie=function(t,n){delete this._cookies[t]},Object.defineProperty(t.prototype,"cookies",{get:function(){return this._cookies},enumerable:!1,configurable:!0}),t}();function Lf(){try{return document.domain}catch(t){}return""}function Uf(t){return{AjaxWatches:[],CookieDomain:Lf(),ElementBlocks:t?[]:s(s([],[{Selector:"input",Consent:!1,Type:Pt.Mask},{Selector:"textarea",Consent:!1,Type:Pt.Mask},{Selector:"select",Consent:!1,Type:Pt.Mask},{Selector:"[contenteditable]",Consent:!1,Type:Pt.Mask},{Selector:"input[type=radio]",Consent:!1,Type:Pt.Exclude},{Selector:"input[type=checkbox]",Consent:!1,Type:Pt.Exclude}],!0),Fo,!0),ElementDeferreds:[],ElementKeeps:[],ElementWatches:[],OrgSettings:Ht.DefaultOrgSettings,UrlKeeps:[],DwellTime:0}}(Rf=xf||(xf={}))[Rf.NoInfoYet=1]="NoInfoYet",Rf[Rf.Enabled=2]="Enabled",Rf[Rf.Disabled=3]="Disabled";var Ff,Bf,Df=function(){function t(t,n,i,r,e,s){var u,o=this;this.W=t,this.xa=e,this.Ra=Ht.DefaultOrgSettings,this.Ka=!1,this.Do=null,this.Ho=[],this.ja=Ht.DefaultBundleUploadInterval,this.Ma=Ht.HeartbeatInterval,this.Pa=[],this.Oa=new Ou,this.Na=[],this.vt=new zu,this.La=xf.NoInfoYet,this.Ua=!1,this.Fa=!1,this.Ba=!1,this.Da=!1,this.Ha={},this.zt=new zh(t,r,i,function(){return o.Wa.bundleEvents()},n,void 0,s);var a,c=new af(t,this.zt,(a=t).options.useMockProtocol?new Of:new cu(a));this.Zi=new Mf(t.window,this.zt),this.Wn=new Zo,this.As=new ff(t,this.zt),this.Wa=new dh(t,this.zt,this.As,this.Wn,this.vt.createChild(),function(t){return o.Ms(t)},function(t){return o.Ps(t)},c,this.Zi),this.D=t.options.scheme,this.za=t.options.script,this.qa=t.options.recHost,this.Va=t.options.recSettingsHost,this.$a=t.options.appHost,this.Ro=t.options.orgId,this.Fa=null!==(u=t.options.skipIframeInjection)&&void 0!==u&&u,this.Ki=t.window,this.t=this.Ki.document}return t.prototype.getPageResponse=function(){return this.Ga},t.prototype.bundleUploadInterval=function(){return this.ja},t.prototype.heartbeatInterval=function(){return this.Ma},t.prototype.setInitConfig=function(t){this.Qa=t},t.prototype.start=function(t,n,i){var r=this;this.Xa=n,this.Ya=i,this.Gs();var e=this.Ki.Document?this.Ki.Document.prototype:this.Ki.document;this.Ja=Bu(this.W,e,"close"),this.Ja&&this.Ja.afterAsync(function(){r.vt.refresh()})},t.prototype.Gs=function(){var t=this;"onpageshow"in this.Ki&&this.vt.add(this.Ki,"pageshow",!1,function(n){t.zt.manualHibernateCheck(),(null==n?void 0:n.persisted)&&t.zt.enqueue({Kind:O.BFCACHE_STATE,Args:[G.Restored]})}),"onpagehide"in this.Ki?this.vt.add(this.Ki,"pagehide",!1,function(n){(null==n?void 0:n.persisted)?(t.zt.enqueue({Kind:O.BFCACHE_STATE,Args:[G.Entering]}),t.zt.singSwanSong(it.Unload)):t.Za()}):this.vt.add(this.Ki,"unload",!1,function(){t.Za()}),this.vt.add(this.Ki,"message",!1,function(n){var i=n.data;if("string"==typeof i){var r=n.source;t.onMessageReceived(r,kf(t.W,i))}})},t.prototype.tellAllFramesTo=function(t){for(var n=0,i=this.Pa;n0){for(var t=0;t0&&this.zt.sendEvents(e,i);break;case Zt.RequestFrameId:if(!t)return;var s=this.hc(t);if(void 0===s);else{var u=ks(s);"Responding to FID request for frame ".concat(u),this.Ha[u]=!1,this.fc(s,u)}case Zt.Unknown:}},t.prototype.hc=function(t){for(var n=0,i=this.Pa;n0&&(null!==(s=null===(e=null===(r=t.OrgSettings)||void 0===r?void 0:r.UrlPrivacyConfig)||void 0===e?void 0:e.length)&&void 0!==s?s:0)>0&&(null!==(a=null===(o=null===(u=t.OrgSettings)||void 0===u?void 0:u.AttributeBlocklist)||void 0===o?void 0:o.length)&&void 0!==a?a:0)>0;return c||Cu.send("Invalid page response",{rsp:t}),c}(Bf=Ff||(Ff={})).START="start",Bf.SHUTDOWN="shutdown",Bf.INTERNAL_BUNDLE="internal/bundle",Bf.INTERNAL_ERROR="internal/error",Bf.INTERNAL_FS_INIT="internal/fs-init";var Wf=[Ff.START,Ff.SHUTDOWN,Ff.INTERNAL_BUNDLE,Ff.INTERNAL_ERROR,Ff.INTERNAL_FS_INIT];function zf(t){var n=t.Seq,i=iu(t);return[n,{data:i,type:"string"},i.length]}function qf(t,n){var i;return new ce(function(r){var e=ma(Aa,function(s){for(var u=0,o=s;u2}(t,this.gc)&&Mu("Quota Exceeded",i(i({},this.gc),{message:Zc(t),err:t})),!1}},t.prototype.yc=function(t){var n;return(null!==(n=this.wc)&&void 0!==n?n:t)=0?(i=t[n],[4,this.Ic(i)]):[3,4];case 2:r.sent(),r.label=3;case 3:return n--,[3,1];case 4:return[2]}})})},t.prototype.Ic=function(t){return r(this,void 0,ce,function(){var n,i,r=this;return e(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),void 0!==t&&t.Bundles&&t.UserId&&t.SessionId&&t.PageId?("Sending ".concat(t.Bundles.length," bundles as prior page swan song"),n=t.Bundles.reduce(function(n,i,e){var s=e===t.Bundles.length-1;return n.push({bundle:i,isNewSession:t.IsNewSession,orgId:t.OrgId,pageId:t.PageId,recHost:t.RecHost,serverBundleTime:t.ServerBundleTime,serverPageStart:t.ServerPageStart,sessionId:t.SessionId,userId:t.UserId,version:t.Version,deltaT:s?r.W.time.wallTime()-(t.LastBundleTime||0):null}),n},[]),[4,Jf(this.mo,n,this.yo,function(t){r.No=t})]):[2];case 1:return e.sent(),[3,3];case 2:return i=e.sent(),"Error recovering swan-song: ".concat(i),[3,3];case 3:return[2]}})})},t}();function tv(t){try{if(t in localStorage){var n=localStorage[t];return delete localStorage[t],(i=sr(n)).Bundles=function(t){for(var n=[],i=0,r=t.Bundles;ithis.Tc)return!0;var i=null===(n=this.Kc)||void 0===n?void 0:n.getValue(fn);return((null==i?void 0:i.cookieValue)||(null==i?void 0:i.localStorageValue))===this.jc.sessionId&&(this.xc=!0,!0)},t}(),iv=function(){function t(t,n,i,r,e,s,u){void 0===r&&(r=uo),void 0===e&&(e=oo),void 0===s&&(s=new nv(t,n)),this.W=t,this.mo=n,this.Uu=i,this.Fo=r,this.yo=e,this.Oc=s,this.Nc=u,this.Lc=!1,this.Uc=0,this.Fc=0,this.Bc=0,this.xo=!1,this.So=0,this.Dc=[],this.Hc=wr(),this.D=t.options.scheme,this.Wc=t.time.wallTime(),this.zc=new Zf(t,this.mo,e),this.To=Lh(this.W)}return t.prototype.addEndMarkerEvent=function(t){this.To.addEndMarkerEvent(t)},t.prototype.scheme=function(){return this.D},t.prototype.enqueueEvents=function(t,n){for(var i=0,r=n;i=2e4&&(i.Hc=wr(),i.Gc({bypassMinBudget:!0})),i.Qc()})},t.prototype.stopPipeline=function(){this.Vc&&this.Vc.stop(),this.To=Lh(this.W,this.To),this.Dc=[],this.zc.stop(),this.Ro=void 0,this.Po=void 0,this.Mo=void 0,this.Ko=void 0,this.jo=void 0,this.xo=!1},t.prototype.send=function(t){var n,i;return r(this,void 0,ce,function(){var r,s;return e(this,function(e){switch(e.label){case 0:switch(r=null!==(n=null==t?void 0:t.mode)&&void 0!==n?n:"flush",s=null!==(i=null==t?void 0:t.reason)&&void 0!==i?i:it.Unknown,r){case"flush":return[3,1];case"sing":return[3,3]}return[3,4];case 1:return this.Gc({flush:!0}),[4,this.Xc()];case 2:return e.sent(),[3,5];case 3:return this.Yc(s),[3,5];case 4:Ae(),e.label=5;case 5:return[2]}})})},t.prototype.Yc=function(t){if(this.Gc({flush:!0}),this.Jc(this.Zc))Ku(!this.Zc,"_pendingBundle in dwell period");else{var n=[];this.Zc&&n.push(this.Zc);for(var r=0,e=this.Dc;rthis.qc()?[4,this.Xc()]:[3,4]):[2];case 3:e.sent(),e.label=4;case 4:return[3,6];case 5:if(s=e.sent(),u="Failed to send bundle",s instanceof Ar){if(Ir(s.status))return 206===s.status||s.status>=500&&Cu.send(u,{err:s,status:s.status}),null===(t=this.Nc)||void 0===t||t.call(this),[2]}else Cu.send(u,{err:s,status:0});return this.Lc=!0,this.Fc=this.Bc+Dh(this.Uc++),[3,6];case 6:return[2]}})})},t.prototype.rh=function(t){var n;return r(this,void 0,ce,function(){var i,r,s,u,o;return e(this,function(e){switch(e.label){case 0:return this.Ro&&this.Po&&this.Mo&&this.Ko?(window,i=this.Uu.getMsSinceLastUserActivity(),[4,this.mo.bundle({bundle:t,deltaT:null,isNewSession:this.xo,lastUserActivity:i,orgId:this.Ro,pageId:this.Ko,serverBundleTime:this.So,serverPageStart:this.jo,sessionId:this.Mo,userId:this.Po,version:this.W.recording.bundleApiVersion()})]):("unable to send bundle. one or more of orgId:".concat(this.Ro," | userId:").concat(this.Po," | sessionId:").concat(this.Mo," | pageId:").concat(this.Ko," are undefined"),[2]);case 1:return r=e.sent(),s=r[0],u=r[1],null===(n=this.W.recording.observer)||void 0===n||n.addEvent({type:Ff.INTERNAL_BUNDLE,data:{clientTime:wr(),lastActivity:i,orgId:this.Ro,pageId:this.Ko,pageStart:this.jo,prevBundleTime:this.So,recHost:ku(this.W),response:u,seq:t[0],sessionId:this.Mo,size:s,userId:this.Po}}),o=t[0],s>16e6&&o>=16&&("splitting large page: ".concat(s),this.W.recording.splitPage(it.Size)),window,[2,u]}})})},t.prototype.$c=function(t,n){return r(this,void 0,ce,function(){var i,r=this;return e(this,function(e){return 0===t.length?[2]:(i=t.reduce(function(t,n,i){return t.push.apply(t,n.bundles.map(function(t){return{bundle:t,isNewSession:n.isNewSession,orgId:r.Ro,userId:r.Po,sessionId:r.Mo,pageId:n.pageId,version:n.version,serverBundleTime:n.serverBundleTime,serverPageStart:n.serverPageStart,deltaT:null}})),t},[]),[2,Jf(this.mo,i,n)])})})},t}(),rv="_fs_preview",ev=new RegExp("(^\\?|&)".concat(rv,"=(?:true|false)(&|$)")),sv=function(){function t(t,n,i){this.Ki=n,this.Kc=i,this.eh="fs_preview_".concat(t)}return t.prototype.isPreviewMode=function(){return this.sh()||this.uh()},t.prototype.clear=function(){this.Kc.setValue(this.eh,"",new Date(1970,1,1).toUTCString())},t.prototype.write=function(){var t=this.sh(),n=this.oh();(t||n)&&(t?this.Kc.setValue(this.eh,"true",new Date(wr()+432e5).toUTCString()):this.clear(),this.ah())},t.prototype.ah=function(){if(this.Ki.history){var t=location.search.replace(ev,function(t,n,i){return i?n:""});this.Ki.history.replaceState({},"",this.Ki.location.href.replace(location.search,t))}},t.prototype.sh=function(){return this.Ki.document.location.search.indexOf("".concat(rv,"=true"))>-1},t.prototype.oh=function(){return this.Ki.document.location.search.indexOf("".concat(rv,"=false"))>-1},t.prototype.uh=function(){var t=this.Kc.getValue(this.eh),n=t.cookieValue,i=t.localStorageValue;return!(!n&&!i)},t}();function uv(t){var n,i,r;return{Kind:O.CAPTURE_SOURCE,Args:[t.type,t.entrypoint,"dom",null===(i=null===(n=t.source)||void 0===n?void 0:n.integration)||void 0===i?void 0:i.slice(0,1024),!!(null===(r=t.source)||void 0===r?void 0:r.userInitiated)]}}function ov(t){var n=function(t){return"msCrypto"in t?t.msCrypto:t.crypto}(t);if("function"==typeof(null==n?void 0:n.randomUUID))return n.randomUUID();var i=new Uint8Array(16);n.getRandomValues(i),i[6]=15&i[6]|64,i[8]=63&i[8]|128;for(var r=[],e=0;e=864e5)return[hv,"exp sid: ".concat(a,"ms ").concat(c,"ms")];var h=null!==(r=n.getLastUserActivityTimeMS())&&void 0!==r?r:a,f=Si.mathMax(h,a),v=Si.mathAbs(o-f);if(v>=fv)return[hv,"exp lua: ".concat(h,"ms ").concat(v,"ms")];var l=null!==(e=n.getPageCount())&&void 0!==e?e:0;return l>=250?[hv,"pages: ".concat(l)]:[u]}(t,n),s=e[0],u=e[1],o=s===hv,a=t.time.wallTime(),c=ov(t.window),h=n.getSessionId(),f=n.getUserId(),v=(null!==(i=n.getPageCount())&&void 0!==i?i:0)+1,l=null!==(r=n.getSessionStartTimeMS())&&void 0!==r?r:a;return o&&(h=ov(t.window),f=function(t,n){var i=n.getUserId();return i&&cv(i)?i:ov(t.window)}(t,n),v=1,l=a),{userId:f,sessionId:h,pageId:c,isNewSession:o,lastActivityTime:a,pageCount:v,reason:u,sessionStartTime:l}}(this.W,this.hh)},t.prototype.persist=function(t){this.hh.create({userId:t.userId,sessionId:t.sessionId,sessionStartTime:t.sessionStartTime,lastUserActivityTime:t.lastActivityTime,pageCount:t.pageCount})},t.prototype.start=function(){this.lh.start(3e5)},t.prototype.stop=function(){this.lh.stop()},t.prototype.dh=function(){var t=this.Uu.getLastUserActivityTS();t!==this.fh&&(this.fh=t,this.hh.setLastUserActivityTimeMS(t)),this.start()},t}(),lv=function(t){function s(n,i,r,e,s,u,o){void 0===r&&(r=new xh(n)),void 0===e&&(e=new iv(n,i,r,void 0,void 0,void 0,function(){return c.shutdown(it.SettingsBlocked)})),void 0===s&&(s=uo),void 0===u&&(u=Tf),void 0===o&&(o=new Wh(n,i));var a,c=t.call(this,n,s,r,e,u,o)||this;c.mo=i,c.Lo=e,c.Bo=o,c.ph=!1,c.zo=!1,c.wh=!1,c.t=c.Ki.document,c.Do=0,c.gh=n.recording.identity,c.mh=new sv(c.Ro,c.Ki,c.gh.getClientStore()),c.La=xf.NoInfoYet,c.yh=new vv(n,r,c.gh),a=function(t){if(c.Wa.stop(it.Api),t){var n=c.t.getElementById(t);n&&c.bh&&n.setAttribute("_fs_embed_token",c.bh)}},c.Ki._fs_shutdown=a;var h=c.mh.isPreviewMode();return c.Sh=c.mo.settings({orgId:c.Ro,previewMode:h})["catch"](function(){}),c}return n(s,t),s.prototype.onDomLoad=function(){var n=this;t.prototype.onDomLoad.call(this),this.ph=!0,this.vc(function(){n.tc(n.zo)})},s.prototype.kh=function(){var t=this.W.options.replayFlags;if(/[?&]_fs_force_session=true(&|#|$)/.test(location.search)&&(t="".concat(t,",forceSession"),this.Ki.history)){var n=location.search.replace(/(^\?|&)_fs_force_session=true(&|$)/,function(t,n,i){return i?n:""});this.Ki.history.replaceState({},"",this.Ki.location.href.replace(location.search,n))}return t},s.prototype.start=function(n,i,s){var u,o,a,c,h,f;return r(this,void 0,ce,function(){var r,v,l,d,p,w,g,m,y,b,S,k,_,A,I,E,T,C,x,R,K,j,M,P,N,L;return e(this,function(e){switch(e.label){case 0:return t.prototype.start.call(this,n,i,s),[4,this.Sh];case 1:if(!(r=e.sent()))return this._h(),[2];Hs(null!==(u=r.OrgSettings.UrlPrivacyConfig)&&void 0!==u?u:Ht.DefaultOrgSettings.UrlPrivacyConfig,r.OrgSettings.MaxUrlLength),v=this.kh(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,ce.race([_e(this.Ki),fe(250)])];case 3:case 4:return e.sent(),[3,5];case 5:l=Qu(this.t),d=l[0],p=l[1],U=this.Ki,F=0,B=0,w=null==U.screen?[F,B]:(F=parseInt(String(U.screen.width),10),B=parseInt(String(U.screen.height),10),[F=isNaN(F)?0:F,B=isNaN(B)?0:B]),g=w[0],m=w[1],y="",n||(y=this.gh.getUserId()),b=this.yh.createUserSessionPage(),S=this.gh.getAppId(),k=this.gh.getAppKeyHash(),_=this.mh.isPreviewMode(),A=null!==(c=null===(a=null===(o=this.W)||void 0===o?void 0:o.recording)||void 0===a?void 0:a.preroll)&&void 0!==c?c:-1,I=Ls(Ue(this.Ki),{source:"page",type:"base"}),E=Ls(this.Ki.location.href,{source:"page",type:"url"}),T=""===this.t.referrer?"":Ls(this.t.referrer,{source:"page",type:"referrer"}),C=er(this.t),x=function(t){var n,i="_fs_tab_id";try{var r=t.sessionStorage.getItem(i);if(r)return r;var e=Math.floor(1e17*Math.random()).toString(16);return t.sessionStorage.setItem(i,e),null!==(n=t.sessionStorage.getItem(i))&&void 0!==n?n:void 0}catch(t){return}}(this.Ki),R={OrgId:this.Ro,UserId:y,SessionId:b.sessionId,PageId:b.pageId,Url:E,Base:I,Width:d,Height:p,ScreenWidth:g,ScreenHeight:m,SnippetVersion:this.W.options.snippetVersion,Referrer:T,Preroll:A,Doctype:C,CompiledVersion:ou.Ver,CompiledTimestamp:ou.TS,AppId:S,TabId:x,PreviewMode:_||void 0},v&&(R.ReplayFlags=v),e.label=6;case 6:return e.trys.push([6,12,,13]),[4,this.mo.page(R)];case 7:return K=e.sent(),_||!K.PreviewMode?[3,9]:[4,this.mo.settings({orgId:this.Ro,previewMode:!0})["catch"](function(){})];case 8:if(!(r=e.sent()))return this._h(),[2];Hs(null!==(h=r.OrgSettings.UrlPrivacyConfig)&&void 0!==h?h:Ht.DefaultOrgSettings.UrlPrivacyConfig,r.OrgSettings.MaxUrlLength),e.label=9;case 9:return[4,this.Ah(b,K,r)];case 10:return Hf(L=e.sent())?this.Da?[2]:(window,j=this.gh.getConsentStore().getConsentState(),this.nc(L,j),window,this.Ih(L.CookieDomain,L.UserIntId,L.SessionIntId,L.PageIntId,L.EmbedToken),this.Eh(),L.PreviewMode&&this.Th(),(M=this.W.options.pageStart)&&M(),this.zt.enqueueFirst(uv({type:"default"})),this.zt.enqueueFirst(this.Wa.getNavigateEvent(this.Ki.location.href,O.ENTRY_NAVIGATE)),this.zt.enqueueFirst({Kind:O.SYS_REPORTCONSENT,Args:[j,tt.Document]}),this.zt.enqueueFirst({Kind:O.SET_FRAME_BASE,Args:[Ls(Ue(this.Ki),{source:"event",type:O.SET_FRAME_BASE}),C,E,T]}),P={Kind:O.PAGE_DATA,Args:[E,I,d,p,g,m,this.W.options.snippetVersion,T,C,A,y,L.PageStart,ar(this.Ki),this.Ki.navigator.userAgent,x,!!L.IsNewSession,!!L.PreviewMode,S,k,ou.TS,ou.Ver]},this.Lo.addEndMarkerEvent(P),null===(f=this.Bo)||void 0===f||f.addEndMarkerEvent(P),L.Flags.DisableInertBundles&&(Oh.forceFlush=!0),this.zt.enqueue({Kind:O.SCRIPT_COMPILED_VERSION,Args:[ou.Ver]}),this.zt.enqueue({Kind:O.RESIZE_LAYOUT,Args:[d,p]}),this.Wa.addVisibilityChangeEvent(),this.oc(),[4,this.zt.startPipeline({isNewSession:!!L.IsNewSession,orgId:this.Ro,pageId:L.PageIntId,serverPageStart:L.PageStart,sessionId:L.SessionIntId,userId:L.UserIntId,minDwellTime:L.Flags.UseDwellTime&&L.DwellTime||0,fixWhenValues:L.Flags.FixWhenValues})]):[2,this._h()];case 11:return e.sent(),this.lc(this.t),this.rc(),[3,13];case 12:return(N=e.sent())instanceof Ar&&(L=N.data)&&L.user_id&&L.cookie_domain&&L.reason_code===jt.ReasonBlockedTrafficRamping&&y!==L.user_id&&this.Ih(L.cookie_domain,L.user_id,"","",""),this._h(),[3,13];case 13:return[2]}var U,F,B})})},s.prototype.Eh=function(){var t=this;this.wh=!0,this.vc(function(){t.tc(t.zo)})},s.prototype.Ih=function(t,n,i,r,e){var s=this.gh;s.setIds(this.Ki,t,n,i),this.bh=e,this.mh.write(),"/User,".concat(s.getUserId(),"/Session,").concat(s.getSessionId(),"/Page,").concat(r)},s.prototype.vc=function(n){this.ph&&this.wh&&t.prototype.vc.call(this,n)},s.prototype.Th=function(){var t="FullStory-preview-script";if(!this.t.getElementById(t)){var n=this.t.createElement("script");n.id=t,n.async=!0,n.src="".concat(this.D,"//").concat(this.$a,"/s/fspreview.js"),this.t.head.appendChild(n)}},s.prototype._h=function(){this.ec(),this.shutdown(it.SettingsBlocked),this.zo=!0,this.tc(this.zo)},s.prototype.Ah=function(t,n,s){var u,o,a;return r(this,void 0,ce,function(){var r,c,h,f;return e(this,function(e){return(r=i(i({},n),s)).Flags.UseClientSideId&&(cv(c=null!==(u=r.UserUUID)&&void 0!==u?u:"")&&(t.userId=c),cv(h=null!==(o=r.SessionUUID)&&void 0!==o?o:"")&&(t.sessionId=h),cv(f=null!==(a=r.PageUUID)&&void 0!==a?a:"")&&(t.pageId=f),this.gh.setCookieDomain(this.Ki,r.CookieDomain),this.yh.persist(t),r=i(i({},r),{UserIntId:t.userId,SessionIntId:t.sessionId,PageIntId:t.pageId,IsNewSession:t.isNewSession,PageStart:wr()}),t.reason&&this.zt.enqueue({Kind:O.SESSION_INFO,Args:[t.reason]})),this.yh.start(),[2,r]})})},s.prototype.onMessageReceived=function(n,i){t.prototype.onMessageReceived.call(this,n,i),(null==n?void 0:n.parent)==this.Ki&&i[0]===Zt.EndPreviewMode&&this.mh.clear()},s}(Df),dv=function(){function t(t,n){void 0===n&&(n=new pv(t)),this.W=t,this.Ch=n}return t.prototype.enqueueEvents=function(t,n){var i=null!=t?t:void 0;this.Ch.postMessage(this.W.window.parent,[Zt.EvtBundle,va(n),i],i)},t.prototype.startPipeline=function(){},t.prototype.stopPipeline=function(){},t.prototype.addEndMarkerEvent=function(t){},t}(),pv=function(){function t(t){this.W=t}return t.prototype.postMessage=function(t,n,i){switch(n[0]){case Zt.EvtBundle:_f(this.W,n[0],iu(n[1]),i)||Sf(this.W,t,n);break;case Zt.RequestFrameId:_f(this.W,n[0],"[]",i)||Sf(this.W,t,n);break;default:"Unknown message type: ".concat(n[0])}},t}(),wv=function(t){function i(n,i,r,e,s){void 0===i&&(i=new pv(n)),void 0===r&&(r=new dv(n,i)),void 0===e&&(e=uo),void 0===s&&(s=Tf);var u=t.call(this,n,e,void 0,r,s,void 0)||this;return u.Ch=i,u.t=u.Ki.document,u}return n(i,t),i.prototype.vc=function(){var n,i;this.W.recording.inWebView&&(null===(i=null===(n=this.Ga)||void 0===n?void 0:n.Flags)||void 0===i?void 0:i.FetchChildIntegrations)&&t.prototype.vc.call(this)},i.prototype.start=function(n,i,r){var e=this;t.prototype.start.call(this,n,i,r),this.xh(),this.vt.add(this.Ki,"load",!1,function(){e.Wa.recordingIsDetached()&&e.W.recording.splitPage(it.FsShutdownFrame)}),this.Wa.addVisibilityChangeEvent()},i.prototype.onMessageReceived=function(n,i){var s;return r(this,void 0,ce,function(){var r,u,o,a,c,h,f;return e(this,function(e){switch(e.label){case 0:if(t.prototype.onMessageReceived.call(this,n,i),n!==this.Ki.parent&&n!==this.Ki)return[2];switch(i[0]){case Zt.GreetFrame:return[3,1];case Zt.SetFrameId:return[3,2];case Zt.SetConsent:return[3,3];case Zt.InitFrameMobile:return[3,4]}return[3,7];case 1:return this.xh(i[1]),[3,7];case 2:try{if(!(r=i[1]))return u=Ls(location.href,{source:"log",type:"debug"}),"Outer page gave us a bogus frame Id! Iframe: ".concat(u),[2];this.Rh({frameId:r,parentIds:i[2],outerStartTime:i[3],scheme:i[4],script:i[5],appHost:i[6],orgId:i[7],initConfig:i[8],pageRsp:i[9],consented:i[10],minimumWhen:i[11]})}catch(t){"Failed to parse frameId from message: ".concat(iu(i))}return[3,7];case 3:return this.setConsent(i[1]),[3,7];case 4:return e.trys.push([4,6,,7]),o=JSON.parse(i[1]),a=o.StartTime,c=void 0,i.length>2&&i[2]&&(h=i[2],Object.prototype.hasOwnProperty.call(h,"ProtocolVersion")&&h.ProtocolVersion>=20180723&&Object.prototype.hasOwnProperty.call(h,"OuterStartTime")&&(a=h.OuterStartTime),Object.prototype.hasOwnProperty.call(h,"MobileScriptPath")&&(c=h.MobileScriptPath)),f=o.Host,[4,this.Rh({frameId:0,parentIds:[],outerStartTime:a,scheme:"https:",script:null!=c?c:ci(f),appHost:ai(f),orgId:o.OrgId,initConfig:void 0,pageRsp:o.PageResponse,consented:null!==(s=this.Wn.getConsent())&&void 0!==s?s:J.RevokeConsent})];case 5:return e.sent(),[3,7];case 6:return e.sent(),"Failed to initialize mobile web recording from message: ".concat(iu(i)),[3,7];case 7:return[2]}})})},i.prototype.xh=function(t){this.Do&&this.Do===t||0!=this.Do&&this.Ki.parent&&this.Ch.postMessage(this.Ki.parent,[Zt.RequestFrameId])},i.prototype.Rh=function(t){var n;return r(this,void 0,ce,function(){var i,r,s=this;return e(this,function(e){switch(e.label){case 0:if(this.Do)return this.Do!==t.frameId?("Updating frame id from ".concat(this.Do," to ").concat(t.frameId),this.W.recording.splitPage(it.FsShutdownFrame)):"frame Id is already set to ".concat(this.Do),[2];if(i=Ls(location.href,{source:"log",type:"debug"}),"FrameId received within frame ".concat(i,":").concat(t.frameId),this.D=t.scheme,this.za=t.script,this.$a=t.appHost,this.Ro=t.orgId,this.Qa=t.initConfig,this.Do=t.frameId,this.Ho=t.parentIds,!t.pageRsp||!Hf(t.pageRsp))return this.shutdown(it.FsShutdownFrame),[2];if(this.Da)return[2];r=t.consented,this.nc(t.pageRsp,r),this.vc(),this.tc(),this.zt.enqueueFirst(uv({type:"default"})),this.zt.enqueueFirst({Kind:O.SYS_REPORTCONSENT,Args:[r,tt.Document]}),this.zt.enqueueFirst({Kind:O.SET_FRAME_BASE,Args:[Ls(Ue(this.Ki),{source:"event",type:O.SET_FRAME_BASE}),er(this.Ki.document)]}),this.zt.enqueue({Kind:O.SCRIPT_COMPILED_VERSION,Args:[ou.Ver]}),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,ce.race([_e(this.Ki),fe(250)])];case 2:case 3:return e.sent(),[3,4];case 4:return this.zt.enqueue({Kind:O.RESIZE_LAYOUT,Args:Qu(this.Ki.document)}),this.oc(),this.zt.rebaseIframe(t.outerStartTime,null!==(n=t.minimumWhen)&&void 0!==n?n:0),this.W.time.setStartTime(t.outerStartTime),this.Po&&this.Mo&&this.Ko?(this.zt.startPipeline({frameId:t.frameId,isNewSession:!!t.pageRsp.IsNewSession,orgId:this.Ro,pageId:t.pageRsp.PageIntId,parentIds:t.parentIds,serverPageStart:t.pageRsp.PageStart,sessionId:t.pageRsp.SessionIntId,userId:t.pageRsp.UserIntId,minDwellTime:0}).then(function(){s.sc(),s.lc(s.Ki.document),s.rc()}),[2]):("one or more of userId:".concat(this.Po," | sessionId:").concat(this.Mo," | pageId:").concat(this.Ko," are undefined"),[2])}})})},i}(Df),gv=1,mv=function(){function t(t,n,i,r){var e;this.hh=t,this.Ro=n,this.Kh=i,this.jh=r,e=mf("fs_cid","_fs_cid",this.Ro,this.Kh),this.Mh=e[0],this.Ph=e[1],this.Oh=e[2],this.Nh=e[3];var s=yf(this.jh,this.hh,this.Mh,this.Ph,this.Oh,this.Nh),u=s[0],o=s[1],a=u||o;this.Lh=function(t){var n={consent:J.RevokeConsent};if(!t)return n;var i=t.split(".");return i.length<1?n:(i[0],"1"===i[1]?{consent:J.GrantConsent}:n)}(a)}return t.prototype.getConsentState=function(){return this.Lh.consent},t.prototype.setConsentState=function(t){var n;this.jh||this.hh.clearCookie(this.Oh,this.Nh),this.Lh.consent=t,t!==J.RevokeConsent?this.hh.setValue(this.Mh,(n=this.Lh.consent,[gv,n===J.GrantConsent?1:0].join(".")),new Date(1e3*Sr()).toUTCString(),this.Ph):this.hh.clearCookie(this.Mh,this.Ph)},t}(),yv=1,bv=function(){function t(t,n,i,r){var e;this.Ro=n,this.Kh=i,this.jh=r,this.hh=t,e=mf("fs_lua","_fs_lua",this.Ro,this.Kh),this.Mh=e[0],this.Ph=e[1],this.Oh=e[2],this.Nh=e[3];var s=yf(this.jh,this.hh,this.Mh,this.Ph,this.Oh,this.Nh),u=s[0],o=s[1];this.Lh=function(t,n){var i;return null!==(i=a(t,n,Sv,function(t,n){return(n.lastUserActivityTime||0)>(t.lastUserActivityTime||0)?n:t}))&&void 0!==i?i:{lastUserActivityTime:void 0}}(u,o)}return t.prototype.getLastUserActivityTimeMS=function(){return this.Lh.lastUserActivityTime},t.prototype.setLastUserActivityTimeMS=function(t){this.jh||this.hh.clearCookie(this.Oh,this.Nh),this.Lh.lastUserActivityTime=t,this.hh.setValue(this.Mh,function(t){return[yv,t].join(".")}(t),new Date(wr()+fv).toUTCString(),this.Ph)},t}();function Sv(t){var n={lastUserActivityTime:void 0};if(!t)return n;var i=t.split(".");return i.length<1?n:(i[0],{lastUserActivityTime:zi(i[1])})}var kv,_v,Av=function(){function t(t,n,i,r){var e,s;void 0===n&&(n=window),void 0===i&&(i=function(){}),void 0===r&&(r=!1),this.jc=t,this.Uh=void 0,t.useMockProtocol?this.Kc=new Nf:this.Kc=null!==(s=t.clientStore)&&void 0!==s?s:new u(n.document,i,r);var o=!!t.useNamespace,a=!!t.isolated;e=mf("fs_uid","_fs_uid",t.orgId,o),this.Mh=e[0],this.Ph=e[1],this.Oh=e[2],this.Nh=e[3],this.Fh=new mv(this.Kc,t.orgId,o,a),this.Bh=new bv(this.Kc,t.orgId,o,a),this.Lh=this.Dh(t.orgId)}return t.prototype.Dh=function(t){var n=yf(!!this.jc.isolated,this.Kc,this.Mh,this.Ph,this.Oh,this.Nh),i=function(t,n,i){return a(t,n,kr,function(t,n){return t.orgId!==i&&n.orgId!==i?null:t.orgId!==i?n:n.orgId!==i?t:n.expirationAbsTimeSeconds>t.expirationAbsTimeSeconds?n:t})}(n[0],n[1],t);return i||{expirationAbsTimeSeconds:Sr(),orgId:t,userId:"",sessionId:"",appKeyHash:""}},t.prototype.getConsentStore=function(){return this.Fh},t.prototype.clear=function(){this.Bh.setLastUserActivityTimeMS(void 0),this.Lh.sessionStartTime=this.Lh.pageCount=void 0,this.Lh.userId=this.Lh.sessionId=this.Lh.appKeyHash=this.Uh="",this.Lh.expirationAbsTimeSeconds=Sr(),this.Hh()},t.prototype.create=function(t){this.Bh.setLastUserActivityTimeMS(t.lastUserActivityTime),this.Lh=i(i({},this.Lh),t),this.Hh()},t.prototype.getOrgId=function(){return this.Lh.orgId},t.prototype.getUserId=function(){return this.Lh.userId},t.prototype.setUserId=function(t){this.Lh.userId=t,this.Hh()},t.prototype.getSessionId=function(){return this.Lh.sessionId},t.prototype.getAppKeyHash=function(){return this.Lh.appKeyHash},t.prototype.getCookies=function(){return this.Kc.cookies},t.prototype.setAppId=function(t){this.Uh=t,this.Lh.appKeyHash=$h(t),this.Hh()},t.prototype.getAppId=function(){return this.Uh},t.prototype.setSessionStartTimeMS=function(t){this.Lh.sessionStartTime=t,this.Hh()},t.prototype.getSessionStartTimeMS=function(){return this.Lh.sessionStartTime},t.prototype.setLastUserActivityTimeMS=function(t){this.Bh.setLastUserActivityTimeMS(t)},t.prototype.getLastUserActivityTimeMS=function(){return this.Bh.getLastUserActivityTimeMS()},t.prototype.setPageCount=function(t){this.Lh.pageCount=t,this.Hh()},t.prototype.getPageCount=function(){return this.Lh.pageCount},t.prototype.getClientStore=function(){return this.Kc},t.prototype.setCookie=function(t,n,i){void 0===i&&(i=new Date(wr()+6048e5).toUTCString()),this.Kc.setCookie(t,n,i)},t.prototype.setCookieDomain=function(t,n){var i=n;(yn(i)||i.match(/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/g))&&(i="");var r=this.jc.cookieDomain;Qi(r)&&(i=r),this.Kc.setDomain(i)},t.prototype.setIds=function(t,n,i,r){this.setCookieDomain(t,n),this.Lh.userId=i,this.Lh.sessionId=r,this.Hh()},t.prototype.clearAppId=function(){return!!this.Lh.appKeyHash&&(this.Uh="",this.Lh.appKeyHash="",this.Hh(),!0)},t.prototype.encode=function(){var t,n,i,r=[this.Lh.userId,null!==(t=this.Lh.sessionId)&&void 0!==t?t:"","".concat(null!==(n=this.Lh.sessionStartTime)&&void 0!==n?n:""),"","".concat(null!==(i=this.Lh.pageCount)&&void 0!==i?i:"")].join(":"),e=["",this.Lh.orgId,r];return this.Lh.appKeyHash&&e.push(encodeURIComponent(this.Lh.appKeyHash)),e.push("/".concat(this.Lh.expirationAbsTimeSeconds)),e.join("#")},t.prototype.Hh=function(){this.Lh.expirationAbsTimeSeconds++,this.jc.isolated||this.Kc.clearCookie(this.Oh,this.Nh);var t,n=this.encode(),i=(t=this.Lh.expirationAbsTimeSeconds,new Date(1e3*t).toUTCString());this.Kc.setValue(this.Mh,n,i,this.Ph)},t}();function Iv(t,n,i,r,e){if(t&&"object"==typeof t){var s=0,u={};for(var o in t)if(!(o in e)){var a=t[o];e[o]={value:a,apiSource:n,apiVersion:i,schema:r},u[o]=a,s++}if(0!==s)return u}}function Ev(t,n){var i,r,e={},s={};for(var u in n)if(Si.objectHasOwnProp(n,u)){if(t()<=0)break;var o=n[u];if(void 0!==o){var a=Tv(u),c=a[0],h=a[1],f=o,v=h;if(Vi(o))f=(i=Ev(t,o))[0],v=i[1];else if(Di(r=o)&&r.length>0&&r.every(Vi)){f=[],v=[];for(var l=0,d=o;l=0)return"blocking FS.identify API call; uid value (".concat(r,") is illegal"),[void 0,bt.FsId];var e=$h(r),s=void 0;return n&&n!==e&&n!==r&&("user re-identified; existing uid hash (".concat(n,") does not match provided uid (").concat(r,")"),s=bt.NewUid),[r,s]}(s,i),o=u[0],a=u[1];if(o)return r.uid=o,{rawProps:r,rawSchema:e,nextAppId:o,reidentify:a===bt.NewUid};switch(a){case bt.FsId:case void 0:break;default:"unexpected failReason returned from setAppId: ".concat(a)}}(s,t,n);if(!o)return r;var a=o.rawProps,c=o.rawSchema,h=o.reidentify,f=o.nextAppId,v=o.eventName,l=jv(s,null!=a?a:{},c,u,t.apiVersion,this.Wh),d=l.properties,p=l.schema;if(!d&&s===mt.Document)return r;var w=Pv(s,null!=d?d:{},u,p,t.apiVersion,v);return Nv(e,function(t,n){var i=Lv[t];if(i)return uv({source:n,type:"api",entrypoint:i})}(s,t.source)),Nv(e,w),s===mt.Page&&(this.zh=w),{events:e,reidentify:!!h,appId:f}}catch(n){return"unexpected exception handling ".concat(t.operation," API call: ").concat(n.message),r}},t}();function Nv(t,n){n&&t.push(n)}var Lv=((Cv={})[mt.User]="setVars",Cv[mt.Event]="event",Cv),Uv=x||R||g,Fv=function(){function t(t,n){void 0===n&&(n=function(t){return new WebSocket(t)}),this.qh=n,this.Vh=!1,this.$h=!1,this.zt={},this.eo=1,this.W=t,this.D=t.options.scheme,this.Va=t.options.recSettingsHost}return t.isSupported=function(){return"WebSocket"in window},t.prototype.page=function(t){var n=this;return new ce(function(i,r){n.Gh({Cmd:Ut.Page,Page:t},ku(n.W),function(t){t.Cmd===Bt.Page?i(t.Page):("socket: unexpected page response: ".concat(t.Cmd),r(t.Cmd))},r)})},t.prototype.settings=function(t){var n=this.W.options.settings;if(n)return ce.resolve(n);var i=t.previewMode?ku(this.W):this.Va;return Su(this.W,this.D,i,t)},t.prototype.event=function(t){return this.rh({req:Ut.Event,rsp:Bt.Event},t)},t.prototype.bundle=function(t){return this.rh({req:Ut.Bundle,rsp:Bt.Bundle},t)},t.prototype.rh=function(t,n){return r(this,void 0,ce,function(){var i,r,s,u=this;return e(this,function(e){switch(e.label){case 0:return[4,be()];case 1:return e.sent(),i=n.deltaT,r=n.serverPageStart,s=n.serverBundleTime,[2,new ce(function(e,o){var a=ku(u.W);Bv(n.recHost,a);var c=n.bundle,h=c[0],f={Bundle:Dv(c[1]),DeltaT:null===i?void 0:i,OrgId:n.orgId,PageId:n.pageId,PageStart:null==r?void 0:r,PrevBundleTime:null==s?void 0:s,Seq:h,SessionId:n.sessionId,UserId:n.userId},v=u.Gh({Cmd:t.req,Bundle:f},a,function(n){n.Cmd===t.rsp?e([null!=v?v:0,n.Bundle]):"socket: unexpected bundle response: ".concat(n.Cmd)},o)})]}})})},t.prototype.bundleBeacon=function(t){var n=ku(this.W);return Bv(t.recHost,n),gu(this.W,this.D,n,t)},t.prototype.startBeacon=function(t){return mu(this.W,this.D,ku(this.W),t)},t.prototype.Gh=function(t,n,i,r){var e=t;e.Seq=this.eo++;var s=iu(e);return this.zt[e.Seq]={payload:s,win:i,lose:r},this.Qh(n),s.length},t.prototype.Xh=function(t){var n;try{n=sr(t)}catch(t){return void"socket: error parsing frame: ".concat(t)}var i=this.zt[n.Seq];delete this.zt[n.Seq],i?n.Cmd===Bt.Error?(n.Fail.Error,i.lose(new Ar(n.Fail.Status,n.Fail.Error))):i.win(n):"socket: mismatched request seq ".concat(n.Seq,"; ignoring")},t.prototype.Yh=function(){if(this.$h&&this.Jh)for(var t in this.zt){var n=this.zt[t];n.sent||(this.Jh.send(n.payload),n.sent=!0)}},t.prototype.Zh=function(){for(var t in this.zt){var n=this.zt[t];n.sent&&(delete this.zt[t],n.lose(new Ar(0,"Pending request")))}},t.prototype.Qh=function(t){var n=this;if(this.$h)this.Yh();else if(!this.Vh){this.Vh=!0;var i="".concat("https:"==this.D?"wss:":"ws:","//").concat(t,"/rec/sock");this.Jh=this.qh(i),this.Jh.onopen=function(t){n.Vh=!1,n.$h=!0,n.Yh()},this.Jh.onmessage=function(t){n.Xh(t.data),n.Yh()},this.Jh.onclose=function(t){n.Vh=n.$h=!1,n.Zh()},this.Jh.onerror=function(t){n.Vh=n.$h=!1,n.Zh()}}},t}();function Bv(t,n){t&&Ku(n===t,"sock#recHost")}function Dv(t){if("string"===t.type)return JSON.parse(t.data);throw new Error("Unexpected bundle type: ".concat(t.type))}var Hv=function(){function t(t){this.tf=!1,this.ya=t}return t.prototype.flush=function(){this.ya(),this.tf=!1},t.prototype.schedule=function(){var t=this;this.tf||(this.tf=!0,ce.resolve().then(function(){t.flush()})["catch"](function(t){return Cu.send("microtask#flush",{err:t})}))},t}(),Wv=function(){function t(){this.nf={start:[],shutdown:[],"internal/bundle":[],"internal/error":[],"internal/fs-init":[]}}return t.prototype.registerListener=function(t,n){var i;if(-1===Wf.indexOf(t)||!n)throw new Error("Invalid event type or missing callback.");var r={disconnected:!1,callback:n,count:0},e=(null!==(i=this.nf[t])&&void 0!==i?i:[]).filter(function(t){return!t.disconnected});return e.push(r),this.nf[t]=e,{disconnect:function(){r.disconnected=!0}}},t.prototype.hasListeners=function(t){var n;return(null!==(n=this.nf[t])&&void 0!==n?n:[]).length>0&&this.nf[t].some(function(t){return!t.disconnected})},t.prototype.takeRecords=function(t){var n,i=null!==(n=this.nf[t.type])&&void 0!==n?n:[];if(0!==i.length)for(var r=0,e=i;r0&&t.once)){s.count+=1;try{s.callback(t.data)}catch(t){"Recording observer callback error: ".concat(eo(t))}}}},t}(),zv=function(){function t(t){var n=this;this.Pi=t,this.zt=[],this._a=new Hv(function(){n.ya()})}return t.prototype.addEvent=function(t){this.Pi.hasListeners(t.type)&&(this.zt.push(t),this._a.schedule())},t.prototype.ya=function(){for(var t=0,n=this.zt;t0?mi.Mixed:mi.Clean,functions:o?s:r,helpers:u,errors:[],dirty:e}}(t,n);if(r.status===mi.Clean)return r;var e=function(t){var n=t.document.createElement("iframe");return n.id="FullStory-iframe",n.className="fs-hide",n.style.display="none",n}(t);try{(function(t){var n=t.document,i=n.documentElement,r=n.body||n.head||i||n;return function(t){return!!Tn(t,"_fs_windex_iframe","boolean")}(t)?r:i||r})(t).appendChild(e)}catch(t){return i(i({},n),{status:mi.Clean})}if(!e.contentWindow)return i(i({},n),{status:mi.Clean});var s=ki(e.contentWindow,mi.Clean);s.dirty=r.dirty;var u=Ui(e);return Uv&&u&&(e.contentWindow.close(),u.removeChild(e)),s.status===mi.UnrecoverableFailure?i(i({},n),{status:mi.Clean}):s}catch(t){return Cu.send("windex#createClean",{err:t}),i(i({},n),{status:mi.Clean})}}(this.Ki,Si.snapshot),Si.rebuildFromSnapshot(t),this.df(),this.pf(),this.Ki,this.lf.addEvent({type:Ff.INTERNAL_FS_INIT,data:{}}))},t.prototype.wf=function(t){var n,r,e,s;this.Qa=function(t,n){var i=n;try{t.filter(function(t){return t[0]===kv.Init}).forEach(function(t){t[0];var n=t[1];if(n){var r=el(n),e=r[0],s=r[1];0===e.unrecoverable.length&&s&&(i=al(null!=i?i:{},s))}})}catch(t){}return i}(t,this.Qa),this.sf=function(t,n,r){var e,s=null!==(e=null==r?void 0:r.env)&&void 0!==e?e:{},u=function(t,n){var r,e=t.host||qv;return i(i({},t),{appHost:t.appHost||ai(e)||qv,captureOnStartup:null===(r=t.captureOnStartup)||void 0===r||r,namespace:n,recHost:t.recHost||Sn(e)||qv,recSettingsHost:t.recSettingsHost||kn(e)||qv,scheme:t.scheme||Vv,script:t.script||ci(e)||qv})}(s.isolated?s:i(i({},function(t,n){return{appHost:Kn(t)||qv,assetMapId:Pn(t),beacon:$n(t),captureOnStartup:Mn(t),cleanValueGetter:ti(t),clientStore:Qn(t),cookieDomain:On(t),disableResume:Jn(t),forceLocalResources:qn(t),isOuterScript:Un(t),isWayfinder:Yn(t),multiStorage:Xn(t),namespace:n,networkBudget:ni(t),orgId:jn(t)||qv,pageStart:Dn(t),preHooks:ii(t),ready:Nn(t),recHost:Rn(t)||qv,recSettingsHost:xn(t)||qv,replayFlags:Fn(t),request:Vn(t),runInIframe:Ln(t),scheme:Vv,script:Cn(t)||qv,settings:Gn(t),skipIframeInjection:Zn(t),snippetVersion:si(t,n),transport:Bn(t),useMockProtocol:Wn(t),useSocket:Hn(t)}}(t,n)),s),n);return u.orgId&&-1===u.orgId.indexOf("FULLSTORY_KEY")&&u.script&&u.recHost&&u.recSettingsHost&&u.appHost?("localhost:8080"===u.recHost&&(u.scheme="http:"),"\n captureOnStartup: ".concat(u.captureOnStartup,"\n cdn host: ").concat(u.recSettingsHost,"\n disableResume: ").concat(u.disableResume,"\n orgId: ").concat(u.orgId,"\n recording host: ").concat(u.recHost,"\n script: ").concat(u.script,"\n "),u):null}(this.Ki,this.rf,this.Qa),this.sf&&(this.gf=(n=this.sf,r=this.Ki,s=n.transport,n.isOuterScript?e=!1:r!==top?e=!0:s?n.orgId&&s.init&&s.init(n.orgId)&&(e=!0):e=!1,e),this.af=ui(this.Ki,this.rf),this.gf)},t.prototype.getCurrentSessionURL=function(t){return this.mf(t?"url.now":"url")},t.prototype.getCurrentSession=function(){return this.mf("id")},t.prototype.getFullstoryId=function(t){return ks(t)},t.prototype.mf=function(t){return this.yf?Xv(this.yf,t):null},t.prototype.enableConsole=function(){this._api(kv.SetConfig,{console:!0})},t.prototype.disableConsole=function(){this._api(kv.SetConfig,{console:!1})},t.prototype.restart=function(){this._api(kv.Restart)},t.prototype.shutdown=function(){this._api(kv.Shutdown)},t.prototype.log=function(){for(var t=[],n=0;n0||!U){n="Init config rejected: ".concat(L.unrecoverable.join(",\n")),x(t,n);break}L.recoverable.length>0&&(n="Init config partially rejected: ".concat(L.recoverable.join(",\n"))),v=al(null!==(u=null!=v?v:p)&&void 0!==u?u:{},U),C(t);break;case kv.GetFullstoryId:var F=t.option;C(t,function(){return ks(F)});break;default:Ae(0,"invalid operation")}}catch(i){n="unknown error evaluating API",Cu.send(n,{err:i,op:t.operation}),"".concat(n," ").concat(i),x(t,n)}},K=0,j=S;K